What's the difference between ADMINISTER and SYSTEM_ADMIN permissions?

Igor Sereda [ALM Works]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 30, 2011

From com.atlassian.jira.security.Permissions:

/**

* Permission to administer JIRA

*/

public static final int ADMINISTER = 0;

/**

* Permission to be a System Admin of JIRA

*/

public static final int SYSTEM_ADMIN = 44;

Half of classes in JIRA sources use one permission, the other half uses the other permission. What's the story? Which one should I use in a plugin?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted
justindowning
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 30, 2011

JIRA permissions explained here.

Igor Sereda [ALM Works]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 30, 2011

Thanks! I guess one should read the user guide of a product before starting developing plugins for it ;)

0 votes
Igor Sereda [ALM Works]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 30, 2011

Also, can we have a nice formatter for the source code on this site, like they have on stackoverflow? Thanks!

TAGS
AUG Leaders

Atlassian Community Events