• Tyler Amos's avatar
    Block abilities when project over storage · 75686b93
    Tyler Amos authored
    - Introduce ReadonlyAbilities concerns in order to DRY up shared
      abilities and features between archived and over_storage_limit
      rules.
    - Include and use ReadonlyAbilities concern in project policy for
      archived and over_storage_limit rules.
    - Add create_update_admin method to CrudPolicyHelpers.
    - Add specs for CrudPolicyHelpers which was missing previously.
    75686b93
crud_policy_helpers.rb 525 Bytes