Module: Katello::Authorization::LifecycleEnvironment
- Extended by:
- ActiveSupport::Concern
- Includes:
- Authorizable
- Included in:
- KTEnvironment
- Defined in:
- app/models/katello/authorization/lifecycle_environment.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
- #creatable? ⇒ Boolean
- #deletable? ⇒ Boolean
- #editable? ⇒ Boolean
- #promotable_or_removable? ⇒ Boolean
- #readable? ⇒ Boolean
Instance Method Details
#creatable? ⇒ Boolean
11 12 13 |
# File 'app/models/katello/authorization/lifecycle_environment.rb', line 11 def creatable? self.class.creatable? end |
#deletable? ⇒ Boolean
19 20 21 |
# File 'app/models/katello/authorization/lifecycle_environment.rb', line 19 def deletable? (:destroy_lifecycle_environments) end |
#editable? ⇒ Boolean
15 16 17 |
# File 'app/models/katello/authorization/lifecycle_environment.rb', line 15 def editable? (:edit_lifecycle_environments) end |
#promotable_or_removable? ⇒ Boolean
23 24 25 |
# File 'app/models/katello/authorization/lifecycle_environment.rb', line 23 def promotable_or_removable? (:promote_or_remove_content_views_to_environments) end |
#readable? ⇒ Boolean
7 8 9 |
# File 'app/models/katello/authorization/lifecycle_environment.rb', line 7 def readable? (:view_lifecycle_environments) end |