Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] Policy for write access only for certain instances of certain clases

Wolfgang Göbl rsoprotege at gmail.com
Tue Jun 12 04:01:44 PDT 2012


Timothy,

Thank you for your reply.
Two more questions:

- how (which User Interface) can I define which Instances a user may
create/edit?
- how can I program the behaviour you suggested ("when a user
tries to edit an instance in a class that he should not access, an
exception is thrown and the user operation fails")

Thanks
Wolfgang

Subject: Re: [protege-discussion] Policy for write access only for
       certain instances of certain classes?
Message-ID: <4FA2D844.3010805 at stanford.edu>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"

On 04/27/2012 01:27 AM, Wolfgang G?bl wrote:
> Hi,
>
> We start using Client/Server Protege.
> One Requirement is to allow certain users to edit certain instances of
> certain classes only.

This is not that easy.  If you are willing to program there is an easy
thing that you could implement but it is somewhat unsatisfactory from
the user point of view.  It is not hard to arrange that when a user
tries to edit an instance in a class that he should not access, an
exception is thrown and the user operation fails.  This solution doesn't
stop the user from trying it just punishes him by failing to succeed and
throwing an exception.

To do better - we did this once before and it was very messy - you would
have to make changes to the user interface.  You would have to think of
all the ways that the user can achieve the wrong outcome and make it nicer.

-Timothy


More information about the protege-discussion mailing list