Warning |
---|
The availability of the users personal data may be impacted by the recent changes by Atlassian in order to meet GDPR compliance. See the following for more information: |
Info |
---|
Availability
|
...
Table plus | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
Syntax for the cloud version
...
|
Description
Excerpt | ||
---|---|---|
| ||
Verifies if a comment is visible for an user. |
Parameters for the server version
...
Note |
---|
The look-up is first made after the userkey, then after the username. |
...
Verifies if a comment is visible for an user.
Parameters
Table plus | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
...
...
|
...
|
Return
...
boolean (true/false)
...
Type
Boolean
A "true" return return value means that the user can see the comment.
Example
...
Code Block |
---|
userHasAccessToComment("admin","10000"); |
...
Returns "
...
true"
...
if the user "admin"
...
can see the comment with id "10000"
...
and "
...
false" if the user cannot see the comment.
Example (cloud only)
Code Block |
---|
userHasAccessToComment(key, "admin","10000"); |
...
Note |
---|
The look-up is first made after the userkey, then after the username. |
See also
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
|
...
|
...
|