Added owner principle check validator to Activities.
UCosmic Code Review 2013.04.03 Changes
Create ApiController endpoint for granting user / role access.
Refactor GrantRoleToUser command and add validation.
Implement UI for granting users to role accesses (still in progress).
Implement grant & revoke features on user search page UI.
Fix bug with GrantRoleToUser checking auth from user instead of principal.
Regernate SQL seeders.
Rename RolesGrantedTo to RolesGrantedToUserName.
Refactor role grant & revoke command validators to share behavior.
Patch WoeIdByCoordinates query to retry when getting null GeoNames result.
Add validation support for query handlers.
Refactor MustBeTenantUser to not depend on IQueryEntities instance.
Add null check for query argument in UserByName query handler method.
Add security validation to RolesGrantedToUserId query handler.
Rename MustBeTenantUser to MustBeTenantUserId.
Secure RolesGrantedToUserName query.
Add null argument checks to various Identity-related query handler methods.
Add .ToString override for Role entity.
Prevent users from being able to revoke own or only user management roles.