diff options
author | Marcos Zuriaga <wolfi@wolfi.es> | 2016-10-03 19:31:20 +0300 |
---|---|---|
committer | Marcos Zuriaga <wolfi@wolfi.es> | 2016-10-03 19:31:20 +0300 |
commit | f42d1e3c85d2ad337aef075dc5a40e05f93196f2 (patch) | |
tree | d46361291a3a8f62e550fe4c993349e57a6f68c1 /templates/views/partials/forms/share_credential/basics.html | |
parent | 0a9c0979105aee38cb6344a87841472b981b6328 (diff) |
Fixed js permissions check
Improved default permissions checks
Diffstat (limited to 'templates/views/partials/forms/share_credential/basics.html')
-rw-r--r-- | templates/views/partials/forms/share_credential/basics.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/views/partials/forms/share_credential/basics.html b/templates/views/partials/forms/share_credential/basics.html index 45341085..9fc1b401 100644 --- a/templates/views/partials/forms/share_credential/basics.html +++ b/templates/views/partials/forms/share_credential/basics.html @@ -70,10 +70,10 @@ {{user.userId}} {{user}} </td> - <td><input type="checkbox" ng-checked="hasPermission(user.acl, 'READ')"> </td> - <td><input type="checkbox"></td> - <td><input type="checkbox"></td> - <td><input type="checkbox"></td> + <td><input type="checkbox" ng-checked="hasPermission(user.acl, default_permissions.permissions.READ)"> </td> + <td><input type="checkbox" ng-checked="hasPermission(user.acl, default_permissions.permissions.WRITE)"></td> + <td><input type="checkbox" ng-checked="hasPermission(user.acl, default_permissions.permissions.FILES)"></td> + <td><input type="checkbox" ng-checked="hasPermission(user.acl, default_permissions.permissions.HISTORY)"></td> </tr> </table> </div> |