Feature #7769
Option for checkCategoriesByRootline
| Status: | Resolved | Start date: | 2010-05-13 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Stefan Busemann | % Done: | 100% |
|
| Category: | DAL: documents | Spent time: | - | |
| Target version: | 0.7.x | Estimated time: | 1.00 hour | |
| Votes: | 0 |
Description
By default permissions for categories are builded via the complete rootline. This could cause an unexpected result. Therefore we added a ts option and disabled it by default.
checkCategoriesByRootline should be used, if most of the cats have no permissons and you want to touch as less permissons as possible.
The permisson check is done, by accumulation of all categories. Then an array of all usergroups is builded, which have access. If the current user is part of at least one group, than he has access.