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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

100 views 0 5
Read article

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