[opencms-dev] internal access permission questions

Leon Oosthuizen@iCommerce Leon.Oosthuizen at za.didata.com
Mon Aug 13 17:30:55 CEST 2001


Hi

I know /body/internal/* resources cannot be viewed directly

Questions:

1) Does the internal access permission (512) function the same way,
otherwise what is its intended purpose?

2.1) Does the internal permission have anything todo with if the resource
gets published or not
2.2) If not, is there any way to flag a resource to prevent it from being
published with the publish project function.  This would be to prevent an
unfinished, unedited article from going live.

3) If the current user's default access permission include internal, the
page control file will be assigned the correct (including internal)
permission, but the associated body file will have an incorrect permission
(512 to much since it's being added without being checked).  Of course, I'm
not sure if one should have internal access as your default in the first
place?

com.opencms.file.CmsResourceTypePage.createResource
  ...
  cms.chmod(bodyFile.getAbsolutePath(), bodyFile.getAccessFlags() +
C_ACCESS_INTERNAL_READ);


Thanks
Leon


**********************************************************************
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.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



More information about the opencms-dev mailing list