Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Modify Object Permissions

cam156 edited this page Oct 9, 2017 · 1 revision

Adding a User

obj = ActiveFedora::Base.find(<id>)
obj.edit_users += [<new user>]
obj.save

Removing a User

obj = ActiveFedora::Base.find(<id>)
obj.edit_users -= [<user>]
obj.save
Clone this wiki locally