summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* changing up handling for hashing in db storage, find token by ID and evaluationorigin/auth-tokenChris Cornutt2015-02-061-3/+16
|
* fix "find by" to correctly get userChris Cornutt2015-02-061-1/+2
|
* adding better hash evaluation for matchingChris Cornutt2015-02-061-2/+22
|
* big refactor on the RememberMe class to only use one token for validation ↵Chris Cornutt2015-02-041-35/+28
| | | | instead of two (cookies)
* allowing for a username to be input into the rememberMe handling (and ↵Chris Cornutt2015-02-041-2/+5
| | | | fetching the user from it)
* updating the auth table migration to remove verify column and update user_id ↵Chris Cornutt2015-02-041-3/+2
| | | | to an integer
* adding information to the authentication docs about enabling the "remember ↵Chris Cornutt2015-02-041-0/+18
| | | | me" on auth
* adding a "find by user ID" method to the user modelChris Cornutt2015-02-041-0/+13
|
* adding "Remember me" handling and flag to enable/disable it on authenticationChris Cornutt2015-02-041-2/+31
|
* adding "user" property to the Auth token model and fixing the property name ↵Chris Cornutt2015-02-041-1/+10
| | | | for expires
* adding information about the "Remember Me" handling into the docsChris Cornutt2015-02-041-1/+41
|
* adding the RandomLib to the library requirementsChris Cornutt2015-02-041-0/+1
|
* adding "Remember Me" class handlingChris Cornutt2015-02-041-0/+237
|
* adding intial version of auth token modelChris Cornutt2015-02-031-0/+54
|
* adding migration for auth tokens tableChris Cornutt2015-02-031-0/+29
|
* adding more tests for the main Gatekeeper classChris Cornutt2015-02-031-0/+35
|
* updating composer config to use any 1.* version of modlerChris Cornutt2015-02-031-1/+1
|
* updating version of modeler to 1.5Chris Cornutt2015-02-021-1/+1
|
* adding remove* methods to the group modelChris Cornutt2015-01-302-0/+75
|
* adding documentation about revoking permissions and groups from usersChris Cornutt2015-01-301-0/+27
|
* adding revoke* methods to user model for groups/permissionsChris Cornutt2015-01-301-0/+36
|
* adding docblocks and method to get current restroctions to Gatekeeper classChris Cornutt2015-01-301-0/+14
|
* adding more tests for the group model child handlingChris Cornutt2015-01-301-0/+50
|
* removing call to loadRestrictions (oops)Chris Cornutt2015-01-301-2/+0
|
* removing loadRestrictions method, adding setDatasourceChris Cornutt2015-01-301-5/+10
|
* adding tests for Permission modelChris Cornutt2015-01-301-0/+90
|
* converting the throttle checking over to a Restriction, adding the ↵Chris Cornutt2015-01-282-16/+38
| | | | restriction class for it too
* adding Restriction handling and first one: IP-based2.0Chris Cornutt2015-01-273-0/+151
|
* adding documentation about restrictionsChris Cornutt2015-01-271-0/+53
|
* adding exceptions for data not found and restriction failsChris Cornutt2015-01-272-0/+16
|
* adding new test to create collection objects from group names (unique string)Chris Cornutt2015-01-251-0/+26
|
* adding a test for the create() method in the user group collectionChris Cornutt2015-01-251-0/+26
|
* updating user group collection to add new model instances to the collection ↵Chris Cornutt2015-01-251-1/+3
| | | | (was just saving and not adding)
* adding tests for invalid group/permission grantingChris Cornutt2015-01-251-0/+31
|
* adding some tests for the grant* handlingChris Cornutt2015-01-251-0/+89
|
* adding test for getting child permissions by perm idChris Cornutt2015-01-251-0/+18
|
* refactoring the grant handling (again? yes, again)1.9.1Chris Cornutt2015-01-241-18/+51
|
* adding migration to correctly add indexesChris Cornutt2015-01-241-0/+28
|
* adding return for the grant method and refactoring configurationChris Cornutt2015-01-242-11/+30
|
* moving the datasource creation logic out of the initChris Cornutt2015-01-231-13/+25
|
* fixing return type in the find method on data sourceChris Cornutt2015-01-231-1/+1
|
* removing a few things found by scrutinizerChris Cornutt2015-01-231-2/+1
|
* commenting the grant method1.9Chris Cornutt2015-01-231-0/+5
|
* Merge branch 'master' of git://github.com/psecio/gatekeeperChris Cornutt2015-01-233-4/+79
|\
| * fixing check for id in inGroup on user modelChris Cornutt2015-01-191-1/+1
| |
| * updating mysql data source with additional checks for model/collection switchChris Cornutt2015-01-191-1/+2
| |
| * adding fix when user/group match is not foundChris Cornutt2015-01-191-0/+3
| |
| * adding a getter for the main datasource1.8Chris Cornutt2015-01-191-0/+10
| |
| * adding option to force return as multiple or singleChris Cornutt2015-01-192-3/+5
| |
| * updating findBy* and datasource find() to return collection instead of a ↵Chris Cornutt2015-01-192-3/+62
| | | | | | | | single record if more than one result is found
* | adding adding the "grant" function and docs for the User modelChris Cornutt2015-01-232-0/+52
|/
* updating because it now uses groupId not just IDChris Cornutt2015-01-181-1/+1
|
* fixing bug in inGroup checking1.7Chris Cornutt2015-01-181-1/+1
|
* fixing getUserThrottle call to remove throttle model as first param in ↵1.6Chris Cornutt2015-01-181-2/+1
| | | | findThrottleByUserId call
* adding packagist badgeChris Cornutt2015-01-161-0/+1
|
* adding to docs about create user with groups1.5Chris Cornutt2015-01-161-0/+20
|
* fixing fetch statement to correctly use $dbDataChris Cornutt2015-01-161-1/+1
|
* moving the user relation for groups over to user group collection (from just ↵Chris Cornutt2015-01-161-1/+1
| | | | group collection)
* fixing properties on the UserGroupModel for groupId and userIdChris Cornutt2015-01-161-2/+2
|
* moving the findByUserId to the UserGroupCollectionChris Cornutt2015-01-161-20/+0
|
* adding the user group collection and matching test, updating group ↵Chris Cornutt2015-01-163-18/+81
| | | | collection test to move method
* updating PermssionCollection test, moving method to UserPermissionCollectionTestChris Cornutt2015-01-162-18/+24
|
* adding GitHub link to docs indexChris Cornutt2015-01-161-1/+3
|
* adding the "permissions on register" to user docs1.4Chris Cornutt2015-01-161-0/+21
|
* adding UserPermissionCollectionChris Cornutt2015-01-161-0/+57
|
* moving relation for permissions over to UserPermissionCollectionChris Cornutt2015-01-161-1/+1
|
* removing the findByUserId from Permission collection, moved to findByUserIdChris Cornutt2015-01-161-20/+0
|
* Updating Mysql model to check for relation and allow add to property valuesChris Cornutt2015-01-161-7/+12
|
* adding relation handling (create)Chris Cornutt2015-01-161-3/+21
|
* fixing call to find to add in a modelChris Cornutt2015-01-151-1/+2
|
* adding Gatekeeper testChris Cornutt2015-01-151-0/+56
|
* Merge branch 'master' of https://github.com/psecio/gatekeeperChris Cornutt2015-01-159-2/+231
|\
| * updating docs index to mention NIST and child permissions/groupsChris Cornutt2015-01-111-0/+2
| |
| * adding "children" property to permission modelChris Cornutt2015-01-111-0/+9
| |
| * adding findChildrenByPermissionId method to permission collectionChris Cornutt2015-01-111-0/+20
| |
| * adding docs about children permissionsChris Cornutt2015-01-111-1/+47
| |
| * adding docs about removing groupsChris Cornutt2015-01-111-0/+14
| |
| * adding the permission "parent" migration and model handlingChris Cornutt2015-01-113-0/+115
| |
| * adding removeChild methodChris Cornutt2015-01-111-0/+23
| |
| * fixing handleFindBy method to correctly be staticChris Cornutt2015-01-111-1/+1
| |
* | adding mock model;Chris Cornutt2015-01-151-0/+8
| |
* | adding Group model tests for adding child (with and without an ID)Chris Cornutt2015-01-151-0/+35
| |
* | adding test to find child groupsChris Cornutt2015-01-151-0/+21
| |
* | adding tests for get/set db, getting table nameChris Cornutt2015-01-151-0/+35
| |
* | catching and rethrowing exception when datasource creation failsChris Cornutt2015-01-151-1/+6
|/
* adding hierarchical group supportChris Cornutt2015-01-095-0/+145
|
* fixing case-sensitive name in Mysql data source classChris Cornutt2015-01-091-1/+1
|
* adding MockPdo objectChris Cornutt2015-01-091-0/+8
|
* adding Mysql data source testChris Cornutt2015-01-091-0/+26
|
* getting abstract mock for DataSource tests instead of using StubChris Cornutt2015-01-091-2/+2
|
* allow constructor injection of the PDO object in mysql data sourceChris Cornutt2015-01-091-8/+18
|
* adding test for DataSourceChris Cornutt2015-01-081-0/+28
|
* adding test for User collection classChris Cornutt2015-01-081-0/+26
|
* fixing the fundByUserId method to work with data source, removing extra ↵1.3Chris Cornutt2015-01-071-2/+3
| | | | return statement
* allowing mysql model to load based on property name tooChris Cornutt2015-01-071-2/+3
|
* adding tests for the Throttle modelChris Cornutt2015-01-071-0/+145
|
* removing errant senicolonChris Cornutt2015-01-071-1/+1
|
* adding test for Permission collection methodsChris Cornutt2015-01-071-0/+42
|
* updating Stub data source to shorten it a bit;Chris Cornutt2015-01-071-23/+12
|
* adding test for group collection classChris Cornutt2015-01-071-0/+24
|