Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-08-30 | Fix ACL verification for destroy and flags actions. Clear the internal | Russ Allbery | |
error before accessor functions that can return undef not because of an error but just because the column is null so that the caller can tell the difference. | |||
2007-08-30 | Return true from object creation, not the new object, which would be a | Russ Allbery | |
layering violation. Fix permission denied error messages for store. Don't give administrators global access to get and store, since it would encourage bad ACL practices. When checking ACLs, instantiate the ACL object correctly. Support clearing attributes and propagate object errors into the server error correctly. Reject stores of undefined data (the empty string is okay). | |||
2007-08-30 | Don't allow empty object types or names. Return true from setting | Russ Allbery | |
attributes rather than the new value; returning the new value is kind of pointless and makes it harder to test. Add support for clearing attributes by passing in the empty string as the new value. | |||
2007-08-30 | Do not require (or allow) principals to be qualified with the realm. | Russ Allbery | |
2007-08-30 | Properly clean up errors from exceptions. Properly catch exceptions when | Russ 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-30 | Add primary keys for tables where everything is a key to be sure that we | Russ Allbery | |
get the uniqueness constraint. | |||
2007-08-30 | Don't reuse the same reference in list; expand each return separately. | Russ Allbery | |
Reject check with an empty principal. | |||
2007-08-30 | Reject all-numeric ACL names since they're ambiguous. Change the stored | Russ Allbery | |
name on rename. | |||
2007-08-30 | Clean up all exception output when storing it in the error variable to | Russ 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-30 | Fix all the interfaces so that objects are identified as type, name, not | Russ Allbery | |
name, type, and fix the schema for the places where I'd renamed name to object for no good reason. I don't know what I was thinking originally. | |||
2007-08-30 | This class now provides a method to do database initialization, which | Russ Allbery | |
shares database open code with the new method. Add an accessor function to get at the database handle, which is useful for testing. Add a DESTROY method to shut the database connection down cleanly. | |||
2007-08-30 | Adjust for SQL syntax differences for auto-increment keys between MySQL | Russ Allbery | |
and SQLite. | |||
2007-08-30 | Call last_insert_id with the correct arguments. | Russ Allbery | |
2007-08-29 | Load the configuration file after setting defaults for variables. | Russ Allbery | |
2007-08-29 | Add an initialize function to Wallet::Server to set up the database. | Russ Allbery | |
2007-08-29 | Fix lots of problems with the schema and rework it a little bit to be | Russ Allbery | |
compatible with SQLite. Mostly this involves creating indexes separately rather than part of the create table statement. | |||
2007-08-29 | Wallet::Server is now responsible for connecting to the database. Don't | Russ Allbery | |
bother working hard to disconnect the database on exit, since the DESTROY DBI method will do the right thing. | |||
2007-08-29 | Convert the schema documentation into a Perl class that contains the same | Russ Allbery | |
information but can also return the SQL commands or apply them to a database. | |||
2007-08-29 | The backend will be called wallet-backend, not walletd. | Russ Allbery | |
2007-08-29 | Fix the store implementation to take the right arguments. | Russ Allbery | |
2007-08-29 | Add the database parameters. | Russ Allbery | |
2007-08-29 | Show ACL names instead of IDs when displaying objects. | Russ Allbery | |
2007-08-29 | Retrieve the ACL name on object creation and store it in the object as | Russ 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-28 | Unlink the temporary keytab file after we've gotten the data out of it. | Russ Allbery | |
2007-08-28 | Initial untested implementation. Now supports all the remaining metadata | Russ Allbery | |
operations on objects and the full set of ACL operations. | |||
2007-08-28 | Add accessor functions for the name and type. | Russ Allbery | |
2007-08-28 | Checkpoint. The object manipulation functions are here, as are the ACL | Russ Allbery | |
verification pieces. | |||
2007-08-28 | Throw exceptions for failure of object new() and create() functions | Russ Allbery | |
rather than returning undef so that we can save the error message. | |||
2007-08-28 | Rename Wallet::Object to Wallet::Object::Base and fix some syntax errors | Russ Allbery | |
introduced by recent changes. | |||
2007-08-28 | Use the new ACL object interface to find the ID of an ACL rather than | Russ Allbery | |
assuming they're always numeric. | |||
2007-08-28 | Add an accessor function to retrieve the ACL ID. | Russ Allbery | |
2007-08-28 | Initial implementation of ACL objects for the wallet. | Russ Allbery | |
2007-08-28 | Fix some terminology consistency issues. Log creation of new objects | Russ Allbery | |
properly. Fix the logging of object deletion. | |||
2007-08-28 | Have to use the module we inherit from. | Russ Allbery | |
2007-08-28 | No need to pass a database handle into the ACL constructors any more. | Russ Allbery | |
I was only going to use that for the krb5-group ACL, which I won't be implementing. | |||
2007-08-28 | Add the keytab object implementation. Add the skeleton of a config | Russ Allbery | |
module which currently doesn't do anything useful except define some variables so that I can do syntax checking. | |||
2007-08-28 | Make sure the module always evaluates to true. | Russ Allbery | |
2007-08-28 | Add the error() method and allow the date argument for tracing to various | Russ Allbery | |
method calls to be omitted. Add full documentation. This should be basically functionally complete for the first pass, although there is as yet no flags implementation. | |||
2007-08-27 | Add generic store, destroy, and show methods and a get placeholder. The | Russ Allbery | |
basic methods are now complete. Add the trace information as parameters to the functions to set various attributes. Rename delete to destroy to avoid the Perl reserved word. Rename _create_internal and _new_internal to create and new to use a more conventional inheritance structure. Always use exceptions for database errors. | |||
2007-08-27 | Rename Wallet::ACL to Wallet::ACL::Base to preserve the Wallet::ACL | Russ Allbery | |
package name for higher-level ACL handling. | |||
2007-08-27 | Snapshot work in progress. | Russ Allbery | |
2007-05-02 | Add a test suite for the new ACL modules and declare $VERSION so that | Russ Allbery | |
they'll load properly. | |||
2007-05-02 | Add the initial build infrastructure for the wallet Perl modules and | Russ Allbery | |
the superclass for Wallet::ACL. Add the Wallet::ACL::Krb5 ACL verifier. |