I'm using a private osm server. I want to make myself as administrator and grant other users different privileges. How can that be achieved?

I noticed there is a file called user_roles_controller.rb so i had a guess that i can access the users and edit them by going to localhost/users. But then i get an error message:You need to be an administrator to perform that action.

asked 23 Nov '11, 13:19

alexz's gravatar image

alexz
225212226
accept rate: 0%

edited 30 Jul '18, 10:47

aseerel4c26's gravatar image

aseerel4c26 ♦
32.1k16239551


permanent link

answered 23 Nov '11, 13:22

Gnonthgol's gravatar image

Gnonthgol ♦
13.6k15101198
accept rate: 16%

1

Thx, but that was mean.

(23 Nov '11, 13:33) alexz

You have to add an initial administrator manually, either from the rails console, or from an SQL command line.

After that the initial administrator can grant further people moderator or administrator powers through the web site by clicking the star icons on a user's user page.

permanent link

answered 23 Nov '11, 13:29

TomH's gravatar image

TomH ♦♦
3.2k83540
accept rate: 20%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×24
×4
×1

question asked: 23 Nov '11, 13:19

question was seen: 2,693 times

last updated: 30 Jul '18, 10:47

powered by OSQA