ppms.project_rights
The project_rights module contains various project related functions.
Functions
Function | Parameters | Return Value | Description |
|---|---|---|---|
call_project_by_type | pr_id: Projekt-ID | A | Open a specific module. When |
call_project_report | pr_id: Projekt-ID | Open a status report | |
current_user_is_mpm |
| Checks the value of Objektberechtigung to see whether the currently logged in user is a MPM, PM, or MPM & MRM | |
current_user_is_multi_portfolio_manager |
| Checks the value of Objektberechtigung to see whether the currently logged in user is a PM | |
current_user_is_multi_req_manager |
| Checks the value of Objektberechtigung to see whether the currently logged in user is a MRM, PM, or MPM & MRM | |
get_project_is_main_project | pr_id: Projekt-ID |
| Checks whether a project is a main project |
get_project_rights | pr_id: Projekt-ID | See | Returns the project rights of the user who is currently logged in. See |
get_rights_for_project | user: Benutzer |
| Gets the access rights of a specific user for a specific project |
get_stakeholder_access_rights | user: Benutzer |
| Gets the highest stakeholder rights the user has in this project |
get_user_access_rights_for_project_by_access_code | user: Benutzer |
| Compares the users Zugriff auf Projekte with the Kostenstellen-Strukturcode of the projects to determine his/her access right |
resource_is_assigned_to_task_in_project | resource: Ressource |
| Checks whether the given resource is assigned to any task in the project |
set_report_title | pr_id: Projekt-ID | Rename a status report. If no name is given, a default is generated based on the report id | |
user_is_mpm | user: Benutzer |
| Checks the value of Objektberechtigung to see whether the user is a MPM, PM, or MPM & MRM |
user_is_multi_portfolio_manager | user: Benutzer |
| Checks the value of Objektberechtigung to see whether the user is a PM |
user_is_multi_req_manager | user: Benutzer |
| Checks the value of Objektberechtigung to see whether the user is a MRM, PM, or MPM & MRM |