Lightning Scheduler Not following Scheduling Permissions after update from 8.3.7 to 8.3.8.

Created on 26 July 2019, over 5 years ago
Updated 12 August 2024, 9 months ago

Previously in lightning_workflow 8.3.7 the lightning_scheduler submodule was working as expected. My editor only has the permission: Editor workflow: Schedule Publish transition, but not any of the other workflow transitions, the scheduler would only present that option on the node.

After updating to 8.3.8 my editor is able to see all the transitions and is able to set and save any of the transitions even without the permissions to. The transition they schedule will NOT occur without the permissions to use the transition. But the transition will occur if they have the permission to use the transition but not the permission to schedule the permission.

Expected Behavior

Current New Behavior

Example:
1) They don't have permission to archive items nor schedule archive items. They can schedule an archive transition. The transition Does NOT happen.
2) They have permission to use the draft transition, they don't have the permission to schedule a draft transition. They can schedule a draft transition. The transition DOES happen.
3) They don't have permission to publish items. They have permission to schedule a publish transition. They can schedule a publish transition. The transition Does NOT happen. (I expect this behavior.)

It looks like the permissions to use a transition is working. It's the permissions to see and set a transition that isn't working as expected.

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States oheller

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024