Initial commit of Session/Authentication code

Plugin architecture with single Database-backed implementation.
This commit is contained in:
2011-12-19 12:13:14 +00:00
parent 5b72a8a206
commit d92cc576d7
16 changed files with 507 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
class SihnonFramework_Auth_Plugin_Database_Permission extends Sihnon_DatabaseObject {
/*
* Built-in permissions
*/
// The Administrator permission always exists, and is always offers the most functionality
// This maps to the isAdministrator method for coarse-grained permissions.
const PERM_Administrator = 1;
protected static $table = 'permission';
protected $_db_id;
protected $_db_name;
protected $_db_description;
}