Class: DcFolderPermission
- Inherits:
-
Object
- Object
- DcFolderPermission
- Includes:
- Mongoid::Document, Mongoid::Timestamps
- Defined in:
- app/models/dc_folder_permission.rb
Overview
Schema information
Collection name: dc_folder_permission : Folders permissions
_id BSON::ObjectId _id
created_at Time created_at
updated_at Time updated_at
folder_name String Folder name
inherited Mongoid::Boolean Inherit permissions from parent
active Mongoid::Boolean Permission is valid
dc_policy_rules Embedded:DcPolicyRule Policy rules
Similar to DcPermission DcFolderPermission model defines documents for accessing file system. Permissions defined on a parent folder automatically apply to all folders below unless folder on lower level has its own permission document.
At least one document must exist for file manager to work. Default document usually defines that admin role has ADMINISTRATOR rights on top level folder.