Gossamer Forum
Home : Products : DBMan : Customization :

add more permisions

Quote Reply
add more permisions
Generaly we have only these permision's :


$per_view,$per_add,$per_del,per_mod,$per_admin

I like to have more like $per_user1, $per_user2 $per_user3

can I just ad them to the .cfg
# user. (View, Add, Delete, Modify, Admin), 1 = enable, 0 = disable.
@auth_default_permissions = (0,0,0,0,0);

The $per_user1,2,3 I need only to insert in the html.pl for printing out or not.
Permisions only managed by the admin.
More Dbases are looking to one default.pass

Can I just ad them to the auth.pl script ? <br>
my ($username, @permissions, $permission, $name, $pw, $view, $add, $del, $mod, $admin, $user1, $user2);

and the open close routine.

This will be a lot of work is there another way to do this ?

Thanks anyway
Quote Reply
Re: add more permisions In reply to
Adding permissions is a complicated thing to do. There are a lot of different places where you need to take the new permissions into account. There is a mod in the Resource Center for adding one new permission. I'm sure you would be able to adjust it to add more than one.



------------------
JPD