You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 6, 2020. It is now read-only.
# an admin shares user cert permission with user foo
$ deis perms:create foo --cert --apps
# an app owner removes config permission from user tester
$ deis perms:delete tester --config
# users can view what permissions they have
$ deis perms:viewCluster Wide Permissions===================certsApp epic-app Permissions====================configpushscale
# admins and app owners can also view a users permissions
$ deis perm:list --username=fooApp epic-app Permissions====================configpushscale
Testing
Almost all of this code resides in the controller, so it would mostly involve lots of tests in the controller to make sure all the edge cases are covered.
Migration
Migration should be pretty simple, admins would still have all access, and a migration script would grant all existing users their current permissions.
The same would apply for apps, the app owner would have all access and users who had the app shared would get the subset of permissions they already had.
I removed the sharing permission because I felt it was odd and probably problematic to be able to invite users but not set their permissions. I feel that #4173 (Teams) will help better solve this problem.
I removed the users permission because that is better left to administrators. For example, somebody with the users permission could regenerate a administrators token and take control of their account.
From @Joshua-Anderson on July 30, 2015 20:52
Right now, there are two permission levels in deis:
This proposal would overhaul the permission system by allowing much more finer controller over which users can do.
Cluster Permissions
App permissions
Default Permissions
Administrators have all permissions granted.
An ETCD setting would set the default permissions for new users:
Example key layout:
Example Usage
Testing
Almost all of this code resides in the controller, so it would mostly involve lots of tests in the controller to make sure all the edge cases are covered.
Migration
Migration should be pretty simple, admins would still have all access, and a migration script would grant all existing users their current permissions.
The same would apply for apps, the app owner would have all access and users who had the app shared would get the subset of permissions they already had.
Copied from original issue: deis/deis#4150
The text was updated successfully, but these errors were encountered: