[opencms-dev] Permissions

enol eolla at lookup-it.com
Thu Jan 8 15:11:01 CET 2004


MessaggioIn truth, I have not never read these values but
I only set them with an instruction like this:

int permissions=cmso.C_ACCESS_OWNER_VISIBLE+cmso.C_ACCESS_OWNER_READ+cmso.C_ACCESS_OWNER_WRITE+cmso.C_ACCESS_GROUP_READ;

(cmso is a com.opencms.file.CmsObject)
and then:

cmso.chmod(resourceName,permissions,true);



  ----- Original Message ----- 
  From: Campione Aldo 
  To: opencms-dev at opencms.org 
  Sent: Thursday, January 08, 2004 2:47 PM
  Subject: R: [opencms-dev] Permissions


  Enrico come leggi questi valori dal CMSOBJ ??
    -----Messaggio originale-----
    Da: enol [mailto:eolla at lookup-it.com] 
    Inviato: giovedì 8 gennaio 2004 13.40
    A: opencms-dev at opencms.org
    Oggetto: Re: [opencms-dev] Permissions


    Hi Aldo,
    I think you read the 'Constant Field Values' of the relative CmsObject
    (C_ACCESS_GROUP, C_ACCESS_GROUP_READ, C_ACCESS_GROUP_VISIBLE.....).

    I hope this help.

      ----- Original Message ----- 
      From: Campione Aldo 
      To: opencms-dev at opencms.org 
      Sent: Thursday, January 08, 2004 12:51 PM
      Subject: [opencms-dev] Permissions


      Anyone can tell me how to read the permissions for a given resource ??



      thx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040108/df908d2d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Sfondo Ghiaccio.jpg
Type: image/jpeg
Size: 2743 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040108/df908d2d/attachment.jpg>


More information about the opencms-dev mailing list