OHDSI / OHDSI/WebAPI

Admin user is not able to delete a role which was created by other administrators

Open
#1,716 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
151
Forks
183
Avg merge
14m
Merged PRs (30d)
2

Description

WebApi 2.8

Steps:

  1. Log in by admin
  2. Create role-> save
  3. Login by another admin
    4)Try to remove the created role

Expected:
Role is removed

Actual:
It is not able to delete a role which was created by other administrators

Contributor guide

No contributing guide indexed for this repository

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 source files or tests. Start by reproducing the role creation and deletion steps in WebAPI 2.8, then trace the authorization checks used when one administrator deletes a role created by another. Done means an administrator can remove another administrator’s role without weakening other permission checks, with regression coverage added if the project’s existing tests support it.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authorization, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.