Button handy | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Table plus | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
Code Block |
---|
include "permissions.incl"; // assuming the file is in the default programs folder for(string user in usersInGroups({"QA-Testers"})){ if(hasPermission(ASSIGNABLE_USER, user, key)){ assignee = user; return; } } |
Note |
---|
This routine function also verifies the issue security level. If the specified user cannot see the issue because his security level does not allow it, the routine function will return "false" for the project permissions even if the user does have the specified privilege. This happens because the issue security comes first and will prohibit the user from taking actions that are otherwise allowed by the permission scheme. |
...
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...