geekelo / geekelo/dsa_practice
admin_roles.rb
- Dominant language
- No language data
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
### FILE
```
ActiveAdmin.register AdminRole do
permit_params :name
menu parent: 'Configuration', label: 'Admin Roles'
# See permitted parameters documentation:
# https://github.com/activeadmin/activeadmin/blob/master/docs/2-resource-customization.md#setting-up-strong-parameters
#
# Uncomment all parameters which should be permitted for assignment
#
#
# or
#
# permit_params do
# permitted = [:name]
# permitted << :other if params[:action] == 'create' && current_user.admin?
# permitted
# end
end
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating admin_roles.rb and reading the surrounding ActiveAdmin resource definitions. The issue does not state what should change, which tests or entry point to run, or what completion should look like; clarify the intended behavior before starting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- authorization
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100