1
Dave_L
xoops_users.level
  • 2003/11/7 21:41

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Is there any documentation on exactly how the database column xoops_users.level is used? I looked for info about this, but couldn't find anything.

2
Dave_L
Re: xoops_users.level
  • 2003/11/21 16:05

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Since no one has replied, I'll try rephrasing my question.

Does anyone have any information on how the database column xoops_users.level is used?

3
Mithrandir
Re: xoops_users.level

It has to do with the user rights.

I'm not 100% into the group and permissions aspects of XOOPS, but I believe that a level of 0 means that the account is disabled. 1 is a registered user and 5 is a site admin (at least with access to the Administration Menu.

Someone else please elaborate

4
Dave_L
Re: xoops_users.level
  • 2003/12/5 10:37

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Sorry for not replying earlier. I thought I had enabled email notification of replies, but I guess not.

Thanks for the reply.

I'd like to find out more about this, if anyone knows about it.

For example, was it done this way (not using levels 2,3,4) to allow for future options?

Do any of the addon modules make use of this attribute, and make assumptions about values other than 0, 1 and 5?

5
Dave_L
Re: xoops_users.level
  • 2003/12/6 18:42

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Through experimentation, I found that setting a user's level to 5 doesn't make him an administrator. To do that, I created a new group "Administrators", with all privileges checked, and added the user to that group.

The user that was created during installation automatically has all privileges, though.

Login

Who's Online

229 user(s) are online (153 user(s) are browsing Support Forums)


Members: 0


Guests: 229


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits