Class: ChefFixie::Sql::CookbookArtifact
- Includes:
- AuthzObjectMixin
- Defined in:
- lib/chef_fixie/sql_objects.rb
Overview
At the time of writing there are more objects in sql than we support here; we should add them. We have only covered the objects that have their own authz info Missing objects include: checksums cookbook_artifact_version_checksums cookbook_artifact_versions cookbook_artifact_versions_id_seq cookbook_artifacts_id_seq cookbook_version_checksums cookbook_version_dependencies cookbook_versions cookbook_versions_by_rank cookbooks_id_seq data_bag_items joined_cookbook_version keys keys_by_name node_policy opc_customers opc_customers_id_seq opc_users org_migration_state org_migration_state_id_seq policy_revisions policy_revisions_policy_groups_association sandboxed_checksums
Constant Summary
Constants included from AuthzUtils
AuthzUtils::ACTIONS, AuthzUtils::TYPES
Instance Method Summary collapse
-
#initialize(data) ⇒ CookbookArtifact
constructor
A new instance of CookbookArtifact.
Methods included from AuthzObjectMixin
#ace, #ace_add, #ace_add_raw, #ace_delete, #ace_delete_raw, #ace_get_util, #ace_member?, #ace_raw, #acl, #acl_add_from_object, #acl_raw, #authz_api, #authz_delete, #expand_actions, included, #is_authorized, #prefix, #type
Methods included from AuthzUtils
#check_action, #check_actor_or_group, #get_authz_id, #get_type, #resourcify_actor_or_group, #to_resource
Methods inherited from SqlObject
#data, #delete, name_field, ro_access, std_authz, std_timestamp, #table
Constructor Details
#initialize(data) ⇒ CookbookArtifact
Returns a new instance of CookbookArtifact.
269 270 271 |
# File 'lib/chef_fixie/sql_objects.rb', line 269 def initialize(data) super(data) end |