Issue Bug Closed

#76273[7.6.7] User file/directory permissions overwrite permissions of group mounts

Christoph Gross 05/23/16, 16:37 updated 03/25/20, 18:21

Description

  • Given we have a group “Redakteur” and this group has a mount “RedaktFiles” without the permission to delete folders
  • Given we have a user of this group which inherits its mounts from the “Redakteur” group
  • Then I would expect Typo3 to ignore the users file operation permissions unless a file mount was specifically added to this user
  • Instead Typo3 only looks at the users file operation permissions and ignores the group file operation permissions

Otherwise group permissions for file operations are useless because after user creation they are no longer enforced. And to change file operation permissions the Admin of the site would need to edit every single user. Typo3 should distinguish between two cases when enforcing file permissions:

Case 1: User inherits File Mount from Group => Users file operation permissions are ignored for that mount and the groups permissions take precedence
*Case 2:* User has selected File Mount (regardless of group File Mounts) => User file operation permissions take precedence over group file operation permissions for this file mount

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.