I have the following problem:

1 user belongs to two OG groups, and his role is set allow view & upload webfm files.
Problem is, that user should only have read rights in the 1st OG group, and read/write in the 2nd OG group.

Is there a way to accomplish this?
Or some workaround that would come close to functioning like that?

Thank You

Comments

cgmonroe’s picture

OG "sub-roles" are always a problem... and not handled by WebFM. It currently uses the combination of role permissions + group membership to decide the webfm rights. E.g. if you have upload permissions, you can upload to any role or group you belong to.

Thinking about this, I'm not sure what set of "rules" could be applied to get the various possible outcomes people might desire. E.g., some folks may want only OG Managers to upload files... some may want everyone to upload and share. Then you layer in the role specific upload spots and code and admin requirements get REALLY confusing.

You MIGHT be able to "fake" this using some Javascript to monitor which directory is current and hiding the upload form.