Re: access rights on a container ?

Stéphane Croisier <[email protected]>
Newsgroups gmane.comp.cms.jahia.template
Message-ID <[email protected]>
At 20:43 17/05/2005, Olivier Vit wrote:
>I would like to define access rights required to access and update a 
>container (file ipload, text field) in the template itself, testing the 
>belonging to a given group.
>Is this possible ? How ?

??? Access rights checks are implicitely already done by Jahia... So could 
you precise what you exactly tri to do? display an "edit" button in live 
mode for certain users on a certain container (cf: such a code is available 
in the blog_listing templates where you can add a new blog page directly in 
live mode if you have the adequate permissions). Or do you want to change 
permissions on the fly?

>Can access rights be different for the same container but for each 
>language ? a given group can edit the french version, another group the 
>english version, and so on ...?

No, not for the moment as the permission is currently set at the container 
level and there is no check of permissions within the edition engine itself 
(excepted for the "folders"). Same is true for example for the locks. If a 
user edits a content object in a certain language, another user can not 
simultenously edit this object in another language.

Cheers,
Stéphane


>Thanks for your help
>
>Olivier Vit
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.