Adds EVECharacterKeyMask class for representing key masks and making it easier to compare permissions.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fixes some errors and updates pull_characters to use the new EVECharacterKeyModel class.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Adds EVEKeyMask class as a base for EVECharacterKeyMask and the new EVECorporationKeyMask classes.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Adds function for checking if a mask supports multiple keys at once.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Changes the mask field in EVECredential to return the applicable EVEKeyMask object instead of an integer.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
References the kind of key by the python attribute, not the db field name.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Semicolons are important. Very important.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Allows core admins to modify anyone's apps.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Resolves some issues involved with deleting characters.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Updates part of the code to use the new has_access method for key masks, fixes a bug related to adding new keys, and moves the validation code to the proper place.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Removes extraneous call that duplicating work when adding keys.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Applies the EVEKeyMask object to the mask fields of APICall and ApplicationGrant.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Modifies application management classes and provides interface for Core admins to manage other people's applications.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fixes an error encountered when non-admins attempt to visit the modify apps page.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Makes it so that admins see applications other than their own in the second box.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Adds new KeyMask function that reveals the number of EVE API functions the key mask provides access to, and updates the code to use the new function.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Saves the user account information when it is modified during character deletions.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
FIxes another place where has_access was needed.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Merge pull request #157 from Acidity/feature/adminsModApplications

Allows core admins to modify anyone's apps.
Merge pull request #160 from Acidity/feature/fixCharacterRemoval

Resolves some issues involved with deleting characters.