AW: [opencms-dev] Is there any method for check write access per group to a folder?
M Butcher
mbutcher at grcomputing.net
Fri Feb 20 18:38:01 CET 2004
I _think_ that only the permissions of the current group are tested. If
a user belongs to two groups, and the currently active group does not
have permissions to edit the file while the inactive group does, then
the accessWrite method will return false. I'm not positive about this,
but it should be easy to test.
Matt
Petr Hollay wrote:
> Hi,
> which OpenCms version are you using?
>
> This should work in 5.0 without problems, are you sure your folder belongs
> to group your user is member of, and access rights have "w" for group?
>
> Best regards
> Petr
>
>
> -----Ursprüngliche Nachricht-----
> Von: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org] Im
> Auftrag von Salvador Santander Gutierrez
> Gesendet: Freitag, 20. Februar 2004 15:18
> An: OpenCMS List
> Betreff: [opencms-dev] Is there any method for check write access per group
> to a folder?
>
> I want to check if a group has write access to a folder. The method
> accessWrite in CmsObject returns if the user has writeAccess, but if the
> user belong to a group which has write access to the folder, the method
> returns false instead of true.
>
> Thanks.
>
> _______________________________________________
> 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
>
> _______________________________________________
> 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
More information about the opencms-dev
mailing list