-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] fixes incorrect copy and delete mywidget states
My widgets page will show admin users greyed out copy and delete buttons, however they still function. The problem is the client doesn't seem to understand su roles, and all the logic does not include that as and option. This adds a more nuanced permission set on the selected widget under $scope.slected.can with a key for each of the permission types. Where possible, those have been used, but theres some strangeness going on thats difficult to follow/tanslate to can permissions. I left those in place. fixes #1296
- Loading branch information
Showing
4 changed files
with
26 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters