View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025019 | mantisbt | feature | public | 2018-11-30 13:18 | 2018-12-16 09:20 |
Reporter | cristobal.manrique | Assigned To | cproensa | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | no change required | ||
Product Version | 2.15.1 | ||||
Summary | 0025019: Access_has_local_level | ||||
Description | I want to check user permission againts the user's local level. This is, the level of the user for a specific project, regardless of the user global access level. (project is private, so i don't want to allow the user to access based on it's global level). Even when i could finally figure out how the access_api works, I guess that a function like "acces_has_local_level" would be the natural way to check this. I mean, there are these functions in the acess_api: But there are only two corresponding functions: Shouldn't we have an "access_has_local_level" function, making use of access_get_local_level? TIA. | ||||
Tags | No tags attached. | ||||
This function has a very specific purpose, as you can read in the comments:
This doesn't return a consolidated access level. Mantis stacks the different rules for global access, project overrides, private threshold...
So far we don't have any real use case for
you want to use |
|