summaryrefslogtreecommitdiff
path: root/perl/Wallet/ACL.pm
AgeCommit message (Collapse)Author
2007-08-31Use a better method of setting the internal error that automaticallyRuss Allbery
adjusts for trailing newlines and exception detritus, saving duplicate code. Standardize the documentation of the error() method and document using this in child classes of the generic ACL and Object classes. Disable printing of errors during connect in Wallet::Server since we're going to throw our own exception.
2007-08-31Add documentation.Russ Allbery
2007-08-30Properly clean up errors from exceptions. Properly catch exceptions whenRuss Allbery
creating ACL objects in Wallet::Server. Don't return the ACL object from the acl_create method of Wallet::Server -- it's a layering violation.
2007-08-30Don't reuse the same reference in list; expand each return separately.Russ Allbery
Reject check with an empty principal.
2007-08-30Reject all-numeric ACL names since they're ambiguous. Change the storedRuss Allbery
name on rename.
2007-08-30Clean up all exception output when storing it in the error variable toRuss Allbery
remove the " at line" stuff added by Perl and the newlines so that the errors stored in objects are consistent. Fix various bugs in the base object, including a few more type vs. name inversions and use of object instead of name. Allow owners to be specified as ACL names instead of IDs, and change the ID to a name in show. Add a new test suite for the base object implementation.
2007-08-30Call last_insert_id with the correct arguments.Russ Allbery
2007-08-29Retrieve the ACL name on object creation and store it in the object asRuss Allbery
well. Add an accessor function for it. Add a separate list method that returns all the entries in an ACL, and use it in the check method.
2007-08-28Add an accessor function to retrieve the ACL ID.Russ Allbery
2007-08-28Initial implementation of ACL objects for the wallet.Russ Allbery
2007-08-27Rename Wallet::ACL to Wallet::ACL::Base to preserve the Wallet::ACLRuss Allbery
package name for higher-level ACL handling.
2007-05-02Add a test suite for the new ACL modules and declare $VERSION so thatRuss Allbery
they'll load properly.
2007-05-02Add the initial build infrastructure for the wallet Perl modules andRuss Allbery
the superclass for Wallet::ACL. Add the Wallet::ACL::Krb5 ACL verifier.