Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
hydra-role-management
Advanced tools
An engine gem to provide a RDBMS backed list of roles and their associated user. This replaces the hydra default role mapper.
As of version 1.0, this gem only supports Rails 5.
hydra-role-management
was a Core Component of the Samvera Community. Given a decline in available labor required for maintenance, this project no longer has a dedicated Product Owner. The documentation for what this means can be found here.
Vacant
Until a Product Owner has been identified, we ask that you please direct all requests for support, bug reports, and general questions to the #dev
Channel on the Samvera Slack.
The Samvera community is here to help. Please see our support guide.
gem 'hydra-role-management'
to your Gemfile and then bundle install
rails generate roles
rake db:migrate
# app/models/ability.rb
if current_user.admin?
can [:create, :show, :add_user, :remove_user, :index, :edit, :update, :destroy], Role
end
Install a system javascript runtime or uncomment therubyracer in spec/support/Gemfile
Ensure that the testing app does not exist: bundle exec rake engine_cart:clean
Set Rails version you want to test against. For example:
export RAILS_VERSION=5.1.4
Ensure that the correct version of Rails is installed: bundle update
Build test app: bundle exec rake engine_cart:generate
And run tests: bundle exec rake ci
bundle install
lib/hydra/role_management/version.rb
.github_changelog_generator
CHANGELOG.md
by running this command:github_changelog_generator --user samvera --project hydra-role-management --token YOUR_GITHUB_TOKEN_HERE
Commit these changes to the main branch
Run rake release
This software has been developed by and is brought to you by the Samvera community. Learn more at the Samvera website.
FAQs
Unknown package
We found that hydra-role-management demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.