This topic is locked

Dynamic Groups?

4/18/2007 6:23:06 PM
PHPRunner General questions
X
xphprun author

Without regenerating the whole project again, is there a way to add groups and assign permissions??
Thank you

Alexey admin 4/19/2007

Hi,
if you already use User group permissions you can add some new groups manually to generated files.

Otherwise the only way is to rebuild the project.
To add some groups to generated files or modify assigned permissions edit GetUserPermissionsfunction in

include\commonfunctions.php file.
Here is the explanation of permission masks.

A - Add

D - Delete

E - Edit

S - List/Search

P - Print/Export

Alexey admin 4/19/2007

If you need to change user's permissions dynamically create all possible groups during design time.

Then modify GroupID field in users table in runtime to reassign user to another group.

X
xphprun author 4/19/2007

Thank you for the quick reply.
Is dynamic group support something we might see in the new version? (4.0) or possible in future releases?
Thank you