Commit a90e013
committed
Allow components list to show if CMS permissions are limited
The permission check for displaying the components list was checking the
user had the "cms.manage_pages", "cms.manage_layouts" AND
"cms.manage_partials" permissions, and if the user was lacking one of
them, it would not show. Since all types of templates allow partials,
this should be a "at least one" check so a user who is limited to
certain types of templates may still add components.1 parent 64602ba commit a90e013
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
0 commit comments