Add Enforce Operations to Repository

Required a restructure of Views and permissions to check for allowed
operations.