|
Stud.IP
3.1 Revision 48552
|


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) | |
| assign_role_institutes_action ($role_id, $user_id) | |
Public Member Functions inherited from AuthenticatedController | |
| after_filter ($action, $args) | |
Public Member Functions inherited from StudipController | |
| validate_args (&$args, $types=NULL) | |
| url_for ($to= '') | |
| link_for ($to= '') | |
| rescue ($exception) | |
| setInfoBoxImage ($image) | |
| addToInfobox ($category, $text, $icon= 'blank.gif') | |
| render_json ($data) | |
| relay ($to_uri) | |
| perform_relayed ($unconsumed) | |
| render_template_as_string ($template, $layout=null) | |
Additional Inherited Members | |
Protected Member Functions inherited from StudipController | |
| populateInfobox () | |
Protected Attributes inherited from AuthenticatedController | |
| $allow_nobody = false | |
| ask_remove_role_action | ( | $roleid | ) |
Ask for confirmation from the user before deleting a role.
| integer | id of role to delete |

| assign_plugin_role_action | ( | $pluginid = NULL | ) |
Display all roles assigned to a particular plugin.
| integer | plugin id (optional) |

| assign_role_action | ( | $userid = NULL | ) |
Display all roles assigned to a particular user.
| string | user id (optional) |

| assign_role_institutes_action | ( | $role_id, | |
| $user_id | |||
| ) |

| before_filter | ( | & | $action, |
| & | $args | ||
| ) |
Common tasks for all actions.
Reimplemented from AuthenticatedController.

| create_role_action | ( | ) |
Create a new role.

| index_action | ( | ) |
Display a list of all existing roles and some statistics.

| remove_role_action | ( | $roleid | ) |
Completely delete a role (including all its assignments).
| integer | id of role to delete |

| save_plugin_role_action | ( | $pluginid | ) |
Change the roles assigned to a particular plugin.
| integer | plugin id |

| save_role_action | ( | $userid | ) |
Change the roles assigned to a particular user.
| string | user id |

| show_role_action | ( | $roleid = NULL | ) |
Display a list of user and role assignments for a given role.
| integer | role id (optional) |
