Search Mailing List Archives
[protege-discussion] Restricting access to classes and instances using the Metaproject Users and Roles
tudorache at stanford.edu
Mon Jan 15 13:55:42 PST 2007
Currently, the Metaproject is used only in the client-server mode for
the login purpose. Even if there are readers and writers defined for a
project in the Metaproject, the read and write access based on these
rights is not supported by Protege.
In stand-alone mode, the Metaproject is not used at all. However, you
can implement a project plugin that will load the Metaproject and set
the frames as editable or not based on the interpretation of the user
rights. If you want more granular access to a project, you can define
your own Metaproject file by extending the existing one, or you can
build a new one from scratch. Your project plugin should be able to
interpret your Metaproject and set the frames as editable or not based
on your own interpretation (and maybe on a access rights propagation
The method for setting a frame as editable is defined in the Frame
If you want to restrict the frames a user sees based on his rights, you
can use the setVisible method from the Frames interface.
I hope this helps.
Schultz, Ron wrote:
> Is there an existing means for me to restrict access to classes and instances based on a user's role as defined in a metaproject (similar to, but more granular than the "project restriction" implemented within Protégé Server)? I do not actually want to run Protégé Server. I need to do this within the Protégé Frames Editor without requiring one to run the Protégé Server.
> Any assistance or direction would be much appreciated.
> Ron Schultz
> [This message contains confidential and proprietary information of the sender, and is intended only for the person(s) to whom it is addressed. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy.]
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
More information about the protege-discussion