Re[6]: Understanding Privileges

Artem <[email protected]> Thu, 22 Jan 2004 08:03:35 +0300
Newsgroups gmane.comp.cms.xaraya.documentation
Message-ID <[email protected]>
Hello, marc.

20 mb`p 2004 c., 11:30:42 you wrote:

>> >> 2. What is 'realms' and how we can use it practically?

m> A simple example:

m> As you know a security check is done by comparing the privileges a user has
m> with a mask in the code.

m> Both privileges and masks contain a realms component. Right now that
m> component is ALL everywhere, iirc.

m> Imagine you create a module where all the masks are defined to require realm
m> = 1. You can now define appropriate privileges so that only people with the
m> correct realm in their privileges can access that module.

Sounds very promising. Will wait for someone implementation :)

m> Roger Keays has created a demo site to illustrate realms. You can see it at
m> http://osko.ninthave.net/~roger/realms
I couldn't login with provided logins and passwds, unfortunately. I always have error
message:

Error Message
User Error
NO_PERMISSION

No further information available

Click here to try again


-- 
Best regards,
 Artem                          mailto:[email protected]