Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
RoleAdminController Class Reference
Inheritance diagram for RoleAdminController:
Inheritance graph
Collaboration diagram for RoleAdminController:
Collaboration graph

Public Member Functions

 before_filter (&$action, &$args)
 index_action ()
 create_role_action ()
 ask_remove_role_action ($roleid)
 remove_role_action ($roleid)
 assign_role_action ($userid=NULL)
 save_role_action ($userid)
 assign_plugin_role_action ($pluginid=NULL)
 save_plugin_role_action ($pluginid)
 show_role_action ($roleid=NULL)
- Public Member Functions inherited from AuthenticatedController
 after_filter ($action, $args)
- Public Member Functions inherited from StudipController
 validate_args (&$args, $types=NULL)
 url_for ($to)
 rescue ($exception)

Detailed Description

role_admin.php - role administration controller

Author
Dennis Reil
Michael Riehemann micha.nosp@m.el.r.nosp@m.iehem.nosp@m.ann@.nosp@m.uni-o.nosp@m.lden.nosp@m.burg..nosp@m.de

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Member Function Documentation

ask_remove_role_action (   $roleid)

Ask for confirmation from the user before deleting a role.

Parameters
integerid of role to delete

Here is the call graph for this function:

assign_plugin_role_action (   $pluginid = NULL)

Display all roles assigned to a particular plugin.

Parameters
integerplugin id (optional)

Here is the call graph for this function:

assign_role_action (   $userid = NULL)

Display all roles assigned to a particular user.

Parameters
stringuser id (optional)

Here is the call graph for this function:

before_filter ( $action,
$args 
)

Common tasks for all actions.

Reimplemented from AuthenticatedController.

Here is the call graph for this function:

create_role_action ( )

Create a new role.

Here is the call graph for this function:

index_action ( )

Display a list of all existing roles and some statistics.

Here is the call graph for this function:

remove_role_action (   $roleid)

Completely delete a role (including all its assignments).

Parameters
integerid of role to delete

Here is the call graph for this function:

save_plugin_role_action (   $pluginid)

Change the roles assigned to a particular plugin.

Parameters
integerplugin id

Here is the call graph for this function:

save_role_action (   $userid)

Change the roles assigned to a particular user.

Parameters
stringuser id

Here is the call graph for this function:

show_role_action (   $roleid = NULL)

Display a list of user and role assignments for a given role.

Parameters
integerrole id (optional)

Here is the call graph for this function:


The documentation for this class was generated from the following file: