pulp / pulp/pulpcore

Default permissions for new users

Open
#2,156 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature GalaxyNG
Dominant language
Python
Stars
598
Forks
168
Avg merge
1d 4h
Merged PRs (30d)
86

Description

Problem

When new users are created, they don't have any permissions by default and have to be manually assigned roles in order to be able to do anything in the system.

Solution

A couple of solutions come to mind for this:

  1. Default role: Create a special role that is automatically assigned to each new user. By default, this role would have no permissions. Pulp admins would be able to define the permissions included in this role which would allow them to define what level of access new users should have without having to manually assign roles to each new user.

  2. Default group: Same idea as the default role, except create a special group that all users are automatically added to. Pulp admins can grant new users a default set of roles by adding new roles to this group.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by comparing the proposed default-role and default-group approaches with pulpcore's user, role, and group behavior. Done means selecting an approach, defining the default access behavior for newly created users, and covering the result with tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authorization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.