Configurable default permissions
Currently, privileges for new projects are set to deny all kinds of access for all users. We propose to make the defaults configurable. An example of such a configuration could look like this: ~~~ { "default": { "VIEW_PROJECT": 1, }, "users": { "admin": { "VIEW_PROJECT": 1, "DRUG_TARGETING_ADVANCED_VIEW_PROJECT": 1, "EDIT_COMMENTS_PROJECT": 1, "EDIT_MISSING_CONNECTIONS_PROJECT": 1, "LAYOUT_MANAGEMENT": 1 }, "anonymous": { "VIEW_PROJECT": 0, } } } ~~~ Here, any privilege not explicitly given in `default` should be set to `0`. Any privilege listed explicitly for a user in `users` should override settings in `default`. The above configuration would lead to the following privileges for a new map: * full privileges for the `admin` user * no privileges for the `anonymous` user * only `VIEW_PROJECT` privilege for all other users.
issue