cc88c5f4b8
VisibilityTrait -> PermissionsTrait PermissionsTrait stores two sets of data, $permissions and $allowedPermissions (analogous to $visibility and $allowedVisibility of VisibilityTrait). Each set is a map of user type ('admin' or 'personal') to permissions (mounting permission, create permission). The result is that a backend can now be restricted for creation, while still allowing it to be mounted. This is useful for deprecating backends or auth mechanisms, preventing new storages being created, while still allowing existing storages to be mounted. |
||
---|---|---|
.. | ||
amazons3 | ||
oauth1 | ||
oauth2 | ||
openstack | ||
password | ||
publickey | ||
authmechanism.php | ||
builtin.php | ||
nullmechanism.php |