Skip to content

Commit 10e6fbd

Browse files
committed
notes on dependencies
1 parent 2bf9b28 commit 10e6fbd

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

README.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
11
# UBC CWL AUTH
22

33
### Files
4-
Event Subscriber - Subscribes to Exceptions, but only implements logic on 403. Checks for 'CWL' role and redirects accordingly.
4+
**Event Subscriber** - Subscribes to Exceptions, but only implements logic on 403. Checks for 'CWL' role and redirects accordingly.
55

6-
AccessDeniedController - Redirects user to the CWL Login page
6+
**AccessDeniedController** - Redirects user to the CWL Login page
77

8-
ubc_cwl_auth.services - Registers event subscriber
8+
**ubc_cwl_auth.services** - Registers event subscriber
99

10-
ubc_cwl_auth.routing - Defines ubc_cwl_auth.ubc_cwl_redirect
10+
**ubc_cwl_auth.routing** - Defines ubc_cwl_auth.ubc_cwl_redirect
1111

12-
ubc_cwl_auth.install - Creates taxonomy terms and configures them. This needs to happen after the configuration in config/install have been imported
12+
**ubc_cwl_auth.install** - Conditionaly creates taxonomy vocab and terms and configures them. This needs to happen after the configuration in config/install have been imported. Conditionally creates CWL role.
13+
14+
15+
### Dependencies
16+
**private_files_download_permission** - Allows you to create subdirectories in the private files folder, and set User role permissions on them. Therefore any private files uploaded to that folder will take on the User permission requirements.
17+
18+
**entity_bundle_permissions** - Allows you to create granular access control permissions on Entities, including Content Types and Media. Note, that if you have UBC Media Entity Configuration installed, you will need to set permissions for both modules. You can open up permissions on UBC Media Entity Configuration to Anonymous, and then restrict them in the Entity Bundle Permissions permissions.
19+
20+
**permissions_by_term** - Allows you to use a taxonomy vocabulary to set User role permissions. This creates a preferable Edit form experience over the private content module.
21+
22+
**jsonapi_extras** - Not actually a dependency, but required to see JSON endpoints, for testing access control of content exposed through endpoints.

0 commit comments

Comments
 (0)