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|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Status||closed||Resolution||no change required|
|Target Version||Fixed in Version|
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?
|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
|2018-11-30 13:18||cristobal.manrique||New Issue|
|2018-12-04 05:46||cproensa||Note Added: 0061037|
|2018-12-04 05:48||cproensa||Note Edited: 0061037||View Revisions|
|2018-12-04 05:48||cproensa||Assigned To||=> cproensa|
|2018-12-04 05:48||cproensa||Status||new => resolved|
|2018-12-04 05:48||cproensa||Resolution||open => no change required|
|2018-12-16 09:20||atrol||Status||resolved => closed|