hydroshare / IrodsShare

HydroShare access control model for use in Irods and other Irods-based projects.
1 stars 0 forks source link

remove admin ability to impersonate users? #20

Closed alvacouch closed 9 years ago

alvacouch commented 9 years ago

I implemented a limited ability for the administrative users to scam the system and act "as" other users. So, an admin user could execute "As X share Y with Z" and it would be indistinguishable from X sharing Y with Z. The use case for this is that if a user hopelessly screws up his or her sharing, an admin user could "become them" and straighten it out.

I am thinking of removing this capability:

The impact of taking the feature out is that if an administrator straightens out sharing for a user, that user would not have the normal privilege of undoing that sharing. Only the administrator could undo it. The reason for this is that the "undo" capability is built on top of the transaction log, which uses the current user id as the perpetrating user. That user -- in this case -- would be the administrator.

dtarb commented 9 years ago

I agree with taking it out. Following are my thoughts

alvacouch commented 9 years ago

Done.