? ?
avatar rolandalsace
rolandalsace
13 Sep 2018

Steps to reproduce the issue

In a workflow permissions, when you change execute transition to allowed or denied, after save the state return to inherit, but the calculated setting have the value seted (allowed ou denied).

In fact it's not a inherit value.

It's not possible to return ton a real inherit value, even if we force to inherit, it's always the old value allowed or denied event if it's display "inherited".

The problème is the same in Transition ACL "Execute Transition".

After save allowed or denied, the calculated value seems good, but the field display "inherited".

(update 16:50 with integration of my comment)

Expected result

Actual result

System information (as much as possible)

Additional comments

J4 alpha5 bluid 12/09/2018

avatar rolandalsace rolandalsace - open - 13 Sep 2018
avatar joomla-cms-bot joomla-cms-bot - labeled - 13 Sep 2018
avatar rolandalsace
rolandalsace - comment - 13 Sep 2018

I complete my tests.

In fact it's not possible to return ton inherit, even if we force to inherit, it's always the old value allowed or denied.

The problème is the same in Transition ACL "Execute Transition", after save allowed or denied, the calculated value seems good, but the field display "inherited".


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22169.

avatar rolandalsace rolandalsace - change - 13 Sep 2018
The description was changed
avatar rolandalsace rolandalsace - edited - 13 Sep 2018
avatar rolandalsace rolandalsace - change - 13 Sep 2018
The description was changed
avatar rolandalsace rolandalsace - change - 13 Sep 2018
The description was changed
Title
J4 alpha5 : Workflows : Workflow permission
J4 alpha5 : Workflows ACL : Workflow permission
avatar alikon
alikon - comment - 13 Sep 2018

i suggest you to test with the current 4.0 staging, a lot of things have changed in the meantime

avatar franz-wohlkoenig franz-wohlkoenig - change - 13 Sep 2018
Title
J4 alpha5 : Workflows ACL : Workflow permission
[4.0] Workflows ACL : Workflow permission
Status New Information Required
avatar rolandalsace
rolandalsace - comment - 13 Sep 2018

I have test with the last nightly build ...
These packages were last built: Thursday, 13 September 2018 02:00:17 UTC

avatar rolandalsace
rolandalsace - comment - 13 Sep 2018

...and in com_content, the select list "state" dont display the list of Stages in transitions authorised for the current user.
Only the actual stage of current item is on the state list.
The problème is perhaps in ACL management, and not in com_workflows ?

avatar alikon
alikon - comment - 13 Sep 2018

iirc before workflows.......
i've not experienced issues with ACL even in 4.0 branch

avatar brianteeman brianteeman - change - 14 Sep 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 14 Sep 2018
avatar bembelimen
bembelimen - comment - 17 Sep 2018

iirc before workflows.......
i've not experienced issues with ACL even in 4.0 branch

Sorry to disappoint you, but this issue is also in com_menu, com_categories, ....

avatar brianteeman
brianteeman - comment - 17 Sep 2018

Can you post some screenshots please - or even better a short recording with something like https://www.cockos.com/licecap/

avatar rolandalsace
rolandalsace - comment - 18 Sep 2018

Hi

Here is the vidéo of the 2 problems (2 files low quality because 10mb and zip because upload of mp4 not allowed !)
joomla workflow and acl problem.part1of2.zip
joomla workflow and acl problem.part2of2.zip

PS : I confirm the post of bembelimen (see my 2nd video file)

avatar brianteeman
brianteeman - comment - 18 Sep 2018

Thank you for the videos. I can confirm what you are seeing AND that this issue is not present in Joomla 3

avatar brianteeman brianteeman - change - 18 Sep 2018
Title
[4.0] Workflows ACL : Workflow permission
[4.0] ACL : Inherit permission
avatar brianteeman brianteeman - edited - 18 Sep 2018
avatar brianteeman
brianteeman - comment - 18 Sep 2018

I have updated the title to show that this is not specifically related to workflows

avatar rolandalsace
rolandalsace - comment - 18 Sep 2018

Thank you for the videos. I can confirm what you are seeing AND that this issue is not present in Joomla 3

Of course (and fortunately), it's only on J4 alpha x (see my 1st post).

avatar brianteeman
brianteeman - comment - 18 Sep 2018

pretty certain this is coming from a bug in media\system\webcomponents\js\joomla-field-permissions.js

avatar rolandalsace
rolandalsace - comment - 20 Feb 2019

Hi.

Today the problème is always here with the last nigthly build of J4 alpha7 (2019-02-20)

The problème is only on categories.

In the store action the json "rules" field of the #__assets table is cleared, instead of be completed with the new user's group rule.

So the others user's group rule are lost.

It's only in asset stored by com_categories (but for all extensions)


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22169.

avatar franz-wohlkoenig franz-wohlkoenig - change - 5 Mar 2019
Status Information Required Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 7 Apr 2019
Labels Added: ?
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 7 Apr 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 19 Apr 2019
Title
[4.0] ACL : Inherit permission
[4.0] ACL: Inherit permission
avatar franz-wohlkoenig franz-wohlkoenig - edited - 19 Apr 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Apr 2019
Labels Added: ?
Removed: J4 Issue ?
avatar franz-wohlkoenig franz-wohlkoenig - unlabeled - 20 Apr 2019
avatar Quy
Quy - comment - 1 Jun 2020

@bembelimen OK to close with PR #29263?

edit: updated PR ID

avatar bembelimen
bembelimen - comment - 5 Jun 2020

Yes, should be fixed with the PR.

avatar Quy
Quy - comment - 5 Jun 2020

Please test PR #29263?

avatar Quy Quy - change - 5 Jun 2020
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2020-06-05 21:40:28
Closed_By Quy
avatar Quy Quy - close - 5 Jun 2020

Add a Comment

Login with GitHub to post a comment