Changeset 1272 for branches


Ignore:
Timestamp:
01/05/15 15:27:46 (9 years ago)
Author:
nanardon
Message:

fix permission checks over password changes

Location:
branches/4.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.0

    • Property svn:mergeinfo changed
      /trunkmerged: 1271
  • branches/4.0/LATMOS-Accounts-Web/root/html/users/menu.tt

    r1148 r1272  
    2020<li>        <a href="[% c.uri_for(username, 'my') %]"><span [% 'id="oactive"' IF subform == 'my' %]>My</span></a></li> 
    2121[% END %] 
    22 [% IF c.model('Accounts').db.check_acl(user, 'userPasswd', 'r') %] 
     22[% IF c.model('Accounts').db.check_acl(user, 'userPassword', 'w') %] 
    2323<li>        <a href="[% c.uri_for(username, 'passwd') %]"><span [% 'id="oactive"' IF subform == 'passwd' %]>Mot de passe</span></a></li> 
    2424[% END %] 
Note: See TracChangeset for help on using the changeset viewer.