The only way I've read to do this [easily] is to set the users
permissions as read/write in the author instance and set their
permissions to read only on the public side. Give it a shot, it'll be
easier than creating your own custom dialog and menu.

Cheers,
Jay Moskos

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 16, 2006 4:43 AM
To: [email protected]
Subject: Re: [magnolia-user] role properties

 Please read: I couldn't find any further on the Role properties ...

-----Original Message-----
From: Gauthier, Stephane (CH Temp) [mailto:[EMAIL PROTECTED] 
Sent: jeudi, 16. fevrier 2006 11:41
To: [email protected]
Subject: [magnolia-user] role properties

Hi,

I would like to restrict the editors rights to read/write the page but
not
activate it, another Role will be in charge of it.
I could build a custom dialog for providing the new option in the edit
role
dialog.
I think I should now build my custom context menu in a new custom dialog
but, how could I access the role properties?

I try something like that:
Content user = SessionAccessControl.getUserNode(request);
AccessManager am = SessionAccessControl.getAccessManager(request);
User usr = User.findUser(user.getName(), request); 

Then test hasRole(String roleName) etc.

I could find any further on the Role properties ...
Any experience or help on the topic?

Many Thanks in advance, St phane.
 
  



************************************************************************
****
********
This email and any files transmitted with it are confidential and
intended
solely for the use of the individual or entity to whom they are
addressed.
If you have received this email in error, please notify the system
manager
([EMAIL PROTECTED]) and delete the message with any attached
files
from your system.
The confidentiality and integrity of this message cannot be guaranteed
on
the Internet and the sender does not accept liability for its content.

************************************************************************
****
*******


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

************************************************************************
************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed.
If you have received this email in error, please notify the system
manager ([EMAIL PROTECTED]) and delete the message with any
attached files from your system.
The confidentiality and integrity of this message cannot be guaranteed
on the Internet and the sender does not accept liability for its
content.

************************************************************************
***********


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to