Changeset 409 for trunk/dns-rpc.cgi


Ignore:
Timestamp:
10/05/12 13:42:58 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Chop some useless code in dns-rpc.cgi addUser, confirm it works. See #43.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns-rpc.cgi

    r407 r409  
    217217  _commoncheck(\%args, 'y');
    218218
    219 # not sure how to usefully represent permissions from any further out from DNSDB.pm :/
     219# not sure how to usefully represent permissions via RPC. :/
    220220# not to mention, permissions are checked at the UI layer, not the DB layer.
    221   my $perms = {domain_edit => 1, domain_create => 1, domain_delete => 1,
    222         record_edit => 1, record_create => 1, record_delete => 1
    223         };
    224221  # bend and twist;  get those arguments in in the right order!
    225222  $args{type} = 'u' if !$args{type};
Note: See TracChangeset for help on using the changeset viewer.