This topic is locked

User Group Names

3/26/2008 9:22:00 AM
PHPRunner General questions
S
spintz author

Tried searching on this but couldn't find anything.
Are there any plans to implement a group lookup table? So I can have a table with a groupID and groupName field? Right now, it seems, the code will only associate groups with groupIDs for users that already exist in the database. But, right now, I have all users defaulted to groupID 1, but I want groupID 1, 2, 3 and 4. And I want names for the groups, so people can be aware of what group they are in by name, not by ID.
Am I missing something here?
EDIT: Ok, so after looking at the help file (I need to look at that before I post), I noticed that it seems you're expecting the group field to be text. I think that's very bad design. Database designs are best with lookups, and being able to manage groups dynamically, using a groupID/groupName table is MUCH better. Should I add this to the Suggestions forums?

Alexey admin 3/26/2008

Hi,
are you talking about static or dynamic permissions ?

Anyway I'm not sure what is your problem here. Please clarify.

S
spintz author 3/26/2008

This question was directed at Static Permissions.
It seems Dynamic Permissions handles this better (I think, I just started looking at them), but I don't want Dynamic Permissions. I want to setup the permissions in PHPR, and be done with it, but want more control. I've recently been redirected to work on other projects that won't be using this user stuff right now, so I'll come back later with a more detail question/request.
Thanks.