Athento allows to inherit all permissions from a parent folder, and to inherit them from all its children. To do this you must use the inherit_folder_permissions command.
This command has only one argument:
- date (DD-MM-YYYYYY): The date on which you are looking for, in folders or folderish, the creation of the permissions of these or if there is no record of the creation of these permissions the date of creation of the folders or folderish. For example --date 01-01-2000, it would take into account all the folders and folderish, with the permission creation date greater than 01-01-2000.
-
python manage.py inherit_folder_permissions --date 01-01-2000
Having a parent folder.
and a children folder:
Once the command is executed, the parent folder would be the same and the child folder would have these permissions.
Note: Permissions are only added, never removed from children.
Comments
0 comments
Please sign in to leave a comment.