Revize 2494
Přidáno uživatelem David Raška před více než 9 roky(ů)
freenetis/branches/1.2/application/controllers/aro_groups.php | ||
---|---|---|
|
||
$user = new User_Model($user_id);
|
||
// access check
|
||
if (!$this->acl_check_edit('Aro_groups_Controller', 'aro_group', $user->member_id))
|
||
if (!$this->acl_check_edit('Aro_groups_Controller', 'aro_group'))
|
||
Controller::Error(ACCESS);
|
||
|
||
$form = new Forge(url::base(TRUE).url::current(TRUE));
|
freenetis/branches/1.2/application/vendors/axo_doc/axo_doc.xml | ||
---|---|---|
<axo usage_type="breadcrumbs" section="Aro_groups_Controller" value="aro_group" action="view" own="false"></axo>
|
||
</method>
|
||
<method name="edit_user" comment-en="Edit users groups" comment-cs="Úprava skupin uživatele">
|
||
<axo usage_type="access" section="Aro_groups_Controller" value="aro_group" action="edit" own="true"></axo>
|
||
<axo usage_type="access" section="Aro_groups_Controller" value="aro_group" action="edit" own="false"></axo>
|
||
<axo usage_type="breadcrumbs" section="Members_Controller" value="members" action="view" own="false"></axo>
|
||
<axo usage_type="breadcrumbs" section="Members_Controller" value="members" action="view" own="true"></axo>
|
||
<axo usage_type="breadcrumbs" section="Users_Controller" value="users" action="view" own="true"></axo>
|
||
... | ... | |
<axo usage_type="links" section="Users_Controller" value="password" action="edit" own="true"></axo>
|
||
<axo usage_type="links" section="Users_Controller" value="application_password" action="edit" own="true"></axo>
|
||
<axo usage_type="links" section="Login_logs_Controller" value="logs" action="view" own="true"></axo>
|
||
<axo usage_type="links" section="Aro_groups_Controller" value="aro_group" action="edit" own="true"></axo>
|
||
<axo usage_type="links" section="Aro_groups_Controller" value="aro_group" action="edit" own="false"></axo>
|
||
<axo usage_type="access-partial" section="Users_Controller" value="application_password" action="view" own="true"></axo>
|
||
<axo usage_type="links" section="Users_Controller" value="additional_contacts" action="view" own="true"></axo>
|
||
<axo usage_type="links" section="Aro_groups_Controller" value="aro_group" action="view" own="false"></axo>
|
freenetis/branches/1.2/application/views/users/show.php | ||
---|---|---|
if ($this->acl_check_view('Login_logs_Controller', 'logs', $user_data->member_id))
|
||
$links[] = html::anchor('login_logs/show_by_user/'.$user_data->id, __('Show login logs'));
|
||
|
||
if ($this->acl_check_edit('Aro_groups_Controller', 'aro_group', $user_data->member_id))
|
||
if ($this->acl_check_edit('Aro_groups_Controller', 'aro_group'))
|
||
$links[] = html::anchor('aro_groups/edit_user/'.$user_data->id, __('Edit access rights'));
|
||
|
||
echo implode (' | ', $links);
|
Také k dispozici: Unified diff
Upravy:
refs #1003: Oprava pristupovych prav editace ARO uzivatele.