geekelo / geekelo/dsa_practice

admin_roles.rb

Open
#60 1 comment 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.