Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict to Users / Groups in Workflow Definition not working #435

Open
lhalaa opened this issue Oct 22, 2020 · 1 comment
Open

Restrict to Users / Groups in Workflow Definition not working #435

lhalaa opened this issue Oct 22, 2020 · 1 comment

Comments

@lhalaa
Copy link
Contributor

lhalaa commented Oct 22, 2020

RestrictUsersGroups

To replicate:

  • Create a new workflow from template (see screenshot)
  • Edit workflow and restrict to a group (e.g. Content Authors) - I've also restricted to user "Author 1" which is from the group Content Authors to see if that works but unfortunately it didn't
  • Apply "Review content and approve" workflow to Homepage
  • In a separate browser, log in as a member (e.g. Member 1 has edit page permission) from another group (not Content Authors)
  • Edit Homepage

Outcome:
Member 1 can see the workflow when editing Homepage. Apply for approval button and Settings > Workflow tab are displayed.
Expected:
Member 1 should not see the workflow on Homepage. Workflow restrictions should only apply to Content Authors group members

For reference:

silverstripe/recipe-cms: 4.6.1
symbiote/silverstripe-advancedworkflow: 5.3.0
@jules0x
Copy link
Contributor

jules0x commented Jul 12, 2021

https://github.com/jules0x/silverstripe-advancedworkflow/tree/approvalgrouppermissioncheck

@lhalaa Check this commit... I think I might be addressing the same issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants