Changeset 382


Ignore:
Timestamp:
08/13/12 17:20:13 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Update permission loading with the new fields for locations. See #10.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r377 r382  
    14771477        p.user_create,p.user_edit,p.user_delete,
    14781478        p.domain_create,p.domain_edit,p.domain_delete,
    1479         p.record_create,p.record_edit,p.record_delete
     1479        p.record_create,p.record_edit,p.record_delete,
     1480        p.location_create,p.location_edit,p.location_delete,p.location_view
    14801481        FROM permissions p
    14811482        );
     
    15041505        $hash->{user_create},$hash->{user_edit},$hash->{user_delete},
    15051506        $hash->{domain_create},$hash->{domain_edit},$hash->{domain_delete},
    1506         $hash->{record_create},$hash->{record_edit},$hash->{record_delete})
    1507         = $sth->fetchrow_array;
     1507        $hash->{record_create},$hash->{record_edit},$hash->{record_delete},
     1508        $hash->{location_create},$hash->{location_edit},$hash->{location_delete},$hash->{location_view}
     1509        ) = $sth->fetchrow_array;
    15081510
    15091511} # end getPermissions()
Note: See TracChangeset for help on using the changeset viewer.