[opencms-dev] permission flags

Alexander Kandzior alex at opencms.org
Fri Feb 18 16:15:29 CET 2005


Olli is right,
 
here's the story with the flags:
 
R: R is read. If you are unable to read you are never able to do anything
else with a file, like viewing it. This is hard coded in the system core.
 
W: W is write. This covers file content, attributes and properties, but not
permissions (see C below).
 
V: V is View. This is basically an optional flag. Talking OpenCms 6, you can
decide in your application if you want this or not by selecting the
approriate org.opencms.file.CmsResourceFilter. The workplace, as one
application, uses this flag. If a user has "R" permission but not "V", he
will be able to read the file, but not see it displayed in the workplace.
 
C: C is Control. This is the permission to change the permissions. If you
have W but not C, you can change all the content but not give other user
write permissions. Thinking about it, we probably never tested what happnes
if you have C but not W.
 
D: D is Direct Publish. This is a new feature in OpenCms 6 that allows an
Admin to gice a user "direct publish" permissions (mostly) on a folder,
without the need to create an individual project that contains only the
folder.  

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com <http://www.alkacon.com/> 



 


  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Olli Aro
Sent: Friday, February 18, 2005 3:32 PM
To: 'The OpenCms mailing list'
Subject: RE: [opencms-dev] permission flags



I cannot claim that I would be specialist on this topic, but the result you
got does make sense in my mind. In my mind R flag should take priority over
V flag, so if you set on V the resource won't be visible because you don't
have access to read it?

 

Olli 

 


  _____  


From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Marek Nowak
Sent: 18 February 2005 08:23
To: The OpenCms mailing list
Subject: Re: [opencms-dev] permission flags

 

Hi Olli

 

Well, I don't agree with you. When I created resource dog.html and gave user
Mike either View or Read permission  to that resource he could not see it in
OpenCms. I had to have both - R and V permissions in order to be able to see
dog.html in OpenCms.

 

Marek

 

----- Original Message ----- 

From: Olli Aro <mailto:olli_aro at yahoo.co.uk>  

To: 'The  <mailto:opencms-dev at opencms.org> OpenCms mailing list' 

Sent: Thursday, February 17, 2005 7:49 PM

Subject: RE: [opencms-dev] permission flags

 

v flag is to make resource visible on the workplace.

 

Olli

 


  _____  


From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Marek Nowak
Sent: 17 February 2005 17:37
To: The OpenCms mailing list
Subject: [opencms-dev] permission flags

 

Hello

 

What is a difference between Read and View permission? I can't see any.

What is the permission Control for?

 

 

Marek

 

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005

 

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005


  _____  




_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev


--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005





--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050218/4a23beb8/attachment.htm>


More information about the opencms-dev mailing list