-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Editor/Publisher groups per content type #16
Comments
You should be able to accomplish that by creating parent/child groups for both editors and publishers. All of your permissions (create, edit, etc.) would be set on the child group(s), the parent group controls access to Workflow features. In Workflow settings, point Editor/Publisher user groups to each parent. Then, assign users to both the parent and the team specific child group(s). Editor Parent (no permissions) Publisher Parent (no permissions) |
Great idea! Didn't even consider this approach. So, just to confirm, you're saying these are the user groups I'd end up with:
And the steps are as follows:
Am I understanding that correctly? |
Yes, you would assign users to two groups. The trick is in where the permissions get assigned. The primary group (editor/publisher) should not define any permissions - it's essentially a placeholder for the Workflow plugin. The secondary groups are where all the permissions get defined - can create, can edit, can publish, etc. You need at least one secondary group for editors (no publish permission) and publishers. You can have any number of secondary groups (editor or publisher) as needed. Given your example, you would create four secondary groups:
Then configure the permissions for the groups as required. For example, PR team editor would get access to create and edit news, blogs and events; PR team publisher would set permissions to publish news, blogs and events. Repeat for News team. Finally, assign users the both a primary and secondary group:
|
I suspect that a user could belong to multiple workflows by being a member of multiple groups, yes? So a user could be a Publisher for PR team but be only an Editor for News? |
That level of granularity does not seem possible at the moment. Using multiple groups comes close, but is still only a workaround to limit editor/publisher controls to specific sections of the CMS. While you can have many subgroups of each, editors and publishers are still unique and can't crossover. Adding a user as an editor in one area and a publisher in another would cause a permission mismatch. |
Great info, @raptureaid. Perhaps one day Workflow will allow the type of functionality @Emkaytoo is asking for. But for now, I believe this covers my particular use-case pretty nicely. Appreciate the stellar work on this! |
@raptureaid Had an additional question here. If you have multiple groups to handle permissions...
...and a "News Team (Editor)" requests approval of their new "News" entry won't the email notification go to everyone in the "Publisher" group? Wouldn't these go to users who shouldn't be administrating the "News" channel? |
First off, awesome plugin! This is extremely well done.
I had a question about how Workflow should (or could) be setup to handle a particular user group/content type scenario. Here's the roles and the content types these groups have access to.
PR Team (Editors)
PR Team (Publishers)
News Team (Editors)
News Team (Publishers)
I have multiple Editor and Publisher groups, but Workflow expects a single Editor group and Publisher group. My groups also vary on content type and even have content type overlap. Does Workflow have a way to manage this type of setup? Or will it at some point?
The text was updated successfully, but these errors were encountered: