How to make JIRA Readonly ?

Chaithra N
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.
March 20, 2012

In the older JIRA instance 3.12.3, we were making JIRA readonly by enabling only SELECT on the jira db (MYSQL) for the jirauser.

But in 4.4.1, JIRA doesnot not start up if we enable only SELECT on the jira db for the user.

Can anybody please help.

Thanks

6 answers

1 accepted

1 vote
Answer accepted
Chaithra N
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.
April 13, 2013

As mentioned in the question, First All privileges for db user was revoked, then only select was enabled for db user for the JIRA DB.

And then granting privileges to few tables (cwd_user_attribute, userhistoryitem etc) helped in JIRA starting & also JIRA is readonly.

1 vote
Jacques
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.
March 20, 2012

I think it's best to change the permission scheme for all your JIRA projects instead of putting this limitation on your database. If you give your users only the "Browse Project" permission they will only be able to browse projects and issues within them. They won't be able to create, comment or do anything else.

Chaithra N
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.
March 20, 2012

Thanks Jacques,

Even If I have the Permission configured for all the Project, user will still be able to do Workflow Action & the Number of Workflows is more in our instance and each worklow have many tranistion.

And it will be difficult to go to each transtion & have condition which refers to some permisison

DB method was easy & was working fine in 3.12.3, but it is failing in 4.4.1

0 votes
Rozita
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 4, 2013

Hi Rdolfo,

Thanks for the reply. But it is still from Jira itself and Is hould do it one by one correct? Can I do it from back end and just for example inside mysql configs?

thx

0 votes
Rodolfo Romero
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.
July 4, 2013

As Jacques mentioned, creating a Permission Scheme that allows only "Browse" to the "jira-user" group will let users navigate through the tickets and projects having this new Permission Scheme setup but it won't let them modify any at all. If you are seeing the users being able to do any other action, it means they belong to the 'jira-administrator' user group.

0 votes
Rozita
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 4, 2013

Hi,

May I know how I can I try it for the curernt version?

thx

0 votes
Chaithra N
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.
April 8, 2013

As mentioned in the question, First All privileges for db user was revoked, then only select was enabled for db user for the JIRA DB.

And then granting privileges to few tables (cwd_user_attribute, userhistoryitem etc) helped in JIRA starting & also JIRA is readonly.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events