jiradb user privileges and jiradb owner

I followed the guide on how to install JIRA 7.2 server

From the section create jira postgres database, it says to create a jiradb user and a jiradb database, but it does not specify which user should the owner of the database and which privileges the user should have on the db.

Currently in my setup the jiradb user has only login access privileges and the jiradb owner is root (postgres) with full access obviously.

It seems to work atm, but I just wanted to be sure this is the correct way

 

1 answer

0 votes

The defaults for postgres are good - when you create a dedicated user with its own database, it'll have all the access it needs.  You'll find jiradb doesn't just have login though, it'll have the full set of create, update, insert, delete, index etc etc etc

Hi thanks for the reply but I didn't understand what you mean.

Should I set the jiradb database owner as jiradbuser?

Do I need to grant jiradbuser the "create database" privileges or only "can do login"?

 

JIRA would not be working if the user did not already have the right priviliges.  So what I think you have done is created the user and database by the usual default method.  Your jiradb user does not have "just login", it has full access to the database.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 3 hours ago in Statuspage

How do your teams prepare for really high (planned) traffic days like Cyber Monday?

Hi there! Shannon from Statuspage here.  👋  With Cyber Monday quickly approaching, we're looking to hear from Atlassian customers – specifically from teams who touch incident response li...

23 views 0 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you