Forum .LRN Q&A: How to add a new role (admin,professor)?plz help

How to add a new role (admin,professor)?plz help.Is there any option to add the roles thru admin or thru coding level.Any help will be usefull.

thanks in advance

Dinesh

Collapse
Posted by dharma chandran on
really i appriciate your thanks...

but i don't know the answer..

i am also working in this area...

congrats...

Collapse
Posted by Caroline Meeks on
There are a few options.

You can change the names of the exiting roles through "Edit Group Properties". All the non-student roles have the same permissions so you can just rename them.

If you need new permissions for your role then you need to explain more about what you are trying to do.

Thanks for the reply.my case is .. : i have more roles to be added in my appln.example when a user is created the option box list out the " USER TPYE " (Profesor,student,staff,external).In that i want to add some more types like (Department head,lecture,etc) and also the access level for each level.

Awating for the reply.

Thanks in advance

Regards
Dinesh

Dinesh the user type is local to dotlrn and dotlrn is a vertical application built on the modules of openacs. You must try to use the approach followed in the dotlrn create scripts in your application. But I would suggest you could use a simpler approach for your application by directly using the groups api for handling roles.