Add Permission objects, and permissions properties to groups and characters.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Add support for wildcard permissions, and make the short field for applications required.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Move the Permission class to it's own model in the permission directory.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Add permissions to Core.Info.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Delete an application's permissions when that application gets deleted.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fix the permissions property in EVECharacter.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Clean up the permissions code, and add a new WildcardPermission class.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fix a bug in the wildcard permission evaluating code, and refactor a bit for consistency.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fix several bugs relating to permissions, and add proper support for Run-time permissions.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Add some tests for the Permissions model.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fix a bug in the permission evaluation code.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Merge branch 'develop' into feature/permissions

Conflicts:
	UPDATE-README
Add user_has_permission decorator for restricting access to certain methods.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
add a permissions property to users which consolidates all of the permissions which their characters have.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Add has_permission to User for determining if a user has a permission, and if so, which character has it.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fix a bug in user_has_permission.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Add permissions checks to /account and /admin

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Have user_has_permission use @authenticate to check if a user is logged in.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Add permissions checks to /application, as well as when authorizing an application.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Add support for using attributes of self to @user_has_permission

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>