Django

Code

Ticket #4692 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

Document required database user permissions

Reported by: Carl Karsten <carl@personnelware.com> Assigned to: nobody
Milestone: Component: Documentation
Version: SVN Keywords: sql sprintsept14
Cc: Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description (Last modified by mtredinnick)

On the db setup page http://www.djangoproject.com/documentation/databases/

There should be some specs on what rights django needs.

easies way to define it is with the command:

grant all on djangosite.* to djangouser identified by 'abc' with grant option;

For the various dbs.

Only A) someone should figure out what rights are really needed, and B) maybe come up with 2 users, one for creating tables with manage.py syncdb.

I can see the attitude of "if you are going to run a server you should know" but this doesn't do much good for people who just want to try it out, and i like the DBA attitude of 'you prove to me why you need it and I'll give it to you."

Attachments

4692.diff (2.5 kB) - added by ubernostrum on 09/14/07 18:49:14.
Patch explaining necessary privileges

Change History

06/26/07 09:31:31 changed by mtredinnick

  • needs_better_patch changed.
  • summary changed from sql rights to Document required database user permissions.
  • description changed.
  • needs_tests changed.
  • needs_docs changed.

07/11/07 21:45:24 changed by Simon G. <dev@simon.net.nz>

  • stage changed from Unreviewed to Accepted.

#4757 was marked as a dupe.

09/14/07 18:49:14 changed by ubernostrum

  • attachment 4692.diff added.

Patch explaining necessary privileges

09/14/07 18:50:01 changed by ubernostrum

  • stage changed from Accepted to Ready for checkin.

Attached a patch to install.txt explaining minimum necessary privileges for setting up a database for Django's use, and to testing.txt reminding users that creating a test database requires CREATE DATABASE.

09/14/07 18:50:14 changed by ubernostrum

  • keywords changed from sql to sql sprintsept14.
  • has_patch set to 1.

09/14/07 23:58:42 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

(In [6260]) Fixed #4692 -- Documented required database privileges. Thanks, ubernostrum


Add/Change #4692 (Document required database user permissions)




Change Properties
Action