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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published Monday in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

504 views 8 9
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