Sha256: 8b52a9fd285b6f0278233bd2923af969dcfa2c1eedda2756597a567dacc0244d
Contents?: true
Size: 437 Bytes
Versions: 152
Compression:
Stored size: 437 Bytes
Contents
collection @subscriptions if params.key?(:include_permissions) user = User.current # current_user is not available here node do node(:can_manage_subscription_allocations) { user.can?("manage_subscription_allocations") } node(:can_import_manifest) { user.can?("import_manifest") } node(:can_delete_manifest) { user.can?("delete_manifest") } node(:can_edit_organizations) { user.can?("edit_organizations") } end end
Version data entries
152 entries across 152 versions & 1 rubygems