|
Quotes |
" ... I want to tell you that your thyme product is functional and valuable beyond
words. I cannot imagine why any portal would be without it. It is the cornerstone of our new project ..."
" ... Thanks for such a complete project, its making my job much easier. ..."
" ... I have now deployed 4 different calendars and our users love them ... "
" ... Easy to install and use and a great look/design. ..."
" ... This has to be the easiest to use program I think I've had to deal with at all this year. ..."
|
|
| View previous topic :: View next topic |
| Author |
Message |
bjensen14
Joined: 22 May 2006 Posts: 1
|
Posted: Mon May 22, 2006 6:44 pm Post subject: Authorization levels from another table |
|
|
I'm trying to integrate the calendar into a custom php app for someone. I've used the generic mysql module for logging in, but I was wondering if it is possible to also have the authorization levels set in this other table. So the calendar would query this other table, see if an authorization exists for the current user, and then allow/disallow functions as appropriate.
Is this possible, or will I have to create groups and sync the Thyme and custom tables? |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Mon May 22, 2006 7:03 pm Post subject: |
|
|
Hi bjensen14,
This is possible. It is done in some of the other authentication modules. I could modify the MySQL module to do the same. It was left out because there is no generic, catch-all way to specify a user as an admin. A few questions before I do ..
This can only be used to designate site admins (super-users) and non-site admins. Is this what you want? Other access levels are set per calendar.
Do you have a field in the table that specifies which users are admin and which are not? How are you designating these? Column X >= Y? Column X = 'admin'? etc..
Thanks |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|