Open grtjn opened 8 years ago
The defaults should work fine, since mlpm deploy
uses the REST API directly, and ml,app-role
should inherit from rest-reader
. Do you want to further restrict access via the app-role permissions?
App-role doesn't inherit rest roles by default. And it allows for stricter security to use rest privs instead..
You're right, but it should ;)
If you're assigning either a REST role or some set of REST privileges to your app-user, what's the use-case for installing your modules with permissions other than the REST API defaults?
True, that would be a sensible default.. for rest type roxy apps..
If not inheriting a rest role (but just privs), you still need a role with exec permissions applied to mods and rest extensions. And if you replace rest role permissions at the same time, you make sure no other rest role user can abuse the app. Especially when combined with uri privs and protected collections only assigned to app-role and not to rest roles..
Sent from Samsung Mobile
Would be nice if we could deploy mlpm packages with specific doc permissions. I'm thinking though it uses REST api, which doesn't support that (yet). I filed an RFE for that. In meantime one could do something like: