frappe / frappe/press

Roles and Permissions (Sloppy)

Open
#6,922 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
562
Forks
410
Avg merge
22h 15m
Merged PRs (30d)
197

Description

### Affected Area

None

### Problem Statement

Currently, it is very hard to manage roles and permissions over the Frappe cloud. While removing any member from the whole account takes around 10 to 12 seconds, you just keep waiting around the same. Also, when we are removing any roles from the account, we still need to wait, I don't know how many seconds. The UI is not very friendly because the delete option is inside the roles detail page - when you click on delete, the actual role you are inside is getting deleted, and you are still on that page, so it's very confusing.

### Proposed Solution

Need to refactor the logic as in you can soft delete instantly once any member is removed, and in the background you can do whatever is required in order to remove the required roles and permissions.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Trace the Frappe Cloud member and role removal flows first, then determine how deletion can appear immediate while cleanup runs in the background; done means removals no longer block for several seconds and the role deletion UI is no longer confusing.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authorization, backend, cloud
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.