added logic for inherit; check permissions on Revoke and Edit buttons
added logic for inherit; check permissions on Revoke and Edit buttons