Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
RDMS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
researchdata
RDMS
Commits
823dd300
Commit
823dd300
authored
2 years ago
by
Kapil Patel
Browse files
Options
Downloads
Patches
Plain Diff
fixed default CRC 1280 collecton that did not appear in ad to collecton dropdown.
parent
4cdcaf8a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!115
Tombstone not available for dataset
,
!77
Bump ruby v2.7.7
,
!45
Fixed default CRC 1280 collection that did not appear in add to collection dropdown.
Pipeline
#4866
failed
2 years ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hyrax/lib/tasks/create_crc_1280_collection.rake
+1
-0
1 addition, 0 deletions
hyrax/lib/tasks/create_crc_1280_collection.rake
with
1 addition
and
0 deletions
hyrax/lib/tasks/create_crc_1280_collection.rake
+
1
−
0
View file @
823dd300
...
...
@@ -15,6 +15,7 @@ namespace :rdms do
admin_user
=
User
.
find_by
(
email:
'admin@hyrax'
)
collection
.
apply_depositor_metadata
(
admin_user
.
user_key
)
collection
.
save
Hyrax
::
Collections
::
PermissionsCreateService
.
create_default
(
collection:
collection
,
creating_user:
admin_user
,
grants:
[])
end
end
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment