U4-10056 - Wire up default permissions on user group

Created by Mads Rasmussen 26 Jun 2017, 07:21:24 Updated by Claus Jensen 05 Jul 2017, 09:56:05

Subtask of: U4-9776


Mads Rasmussen 26 Jun 2017, 09:30:15

@Shandem I will need some data from the server before I am able to finish this one. I have added a model in the controller for the use group editor for what I am currently using if that can help in any way. (It is the same as the permissions dialog) https://github.com/umbraco/Umbraco-CMS/blob/user-group-permissions/src/Umbraco.Web.UI.Client/src/views/users/group.controller.js#L213

Shannon Deminick 04 Jul 2017, 02:17:11

This is all working now. To test:

  • Create a new user group - you can assign default permissions there
  • Save the group, you will be taken to a new route and you can continue to edit the user
  • You should be able to edit any default permissions for the group

Claus Jensen 05 Jul 2017, 09:12:13

Creating a user group works if I don't have any content in the tree. Have created a new issue for this with a screengrab (http://issues.umbraco.org/issue/U4-10105).

Saving the group also seems to work and I can edit the assigned users and sections without issues.

  • Default permissions however do not seem to be persisted. The ones I set when creating, are not set. If I try to set them again and save - reloading brings me back to a blank selection.

  • I can't test the granular permissions yet since that requires content - and that doesn't work currently.

Shannon Deminick 05 Jul 2017, 09:44:52

I've pushed a couple fixes for this and commented on the http://issues.umbraco.org/issue/U4-10105 since I think i've already fixed that too

Claus Jensen 05 Jul 2017, 09:55:46

All works now :) Perfect

Priority: Normal

Type: Task

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 7.7.0

Due in version: 7.7.0

Sprint: Sprint 62

Story Points: 1