Comments (5)
Our team will take the following approach
We will create User Group Permissions the same as User Permission. Whenever User Group Permission is added, all users of that group can see those documents if they have been given the appropriate role. User Group Permission will work with User Permission and also list view will be shown for that doctype in accordance with permissions of User Group Permission and User Permission
From a technical point of view, we have studied how User Permission works and we will implement the same API for getting permission for users using User Group Permission. Also, we will modify the permission.py file for user permission to return permission based on user permission and user group permission. We have studied how the list view is restricted for User Permission, Now, we will merge User permission from "User Group Permission" and "User Permission" doctype, to show only permitted records.
from frappe.
Similar feature requests have been made previously.
from frappe.
From anyone from Frappe confirm whether we start to work on this feature or not?
from frappe.
Feature Goal: Easily Assign Document Permissions to User Groups
Description:
The goal of this feature is to allow system administrators to conveniently grant document permissions to user groups using a new doctype called "User Group Permission." This functionality will mirror the existing user permission system but will apply to user groups instead of individual users.
New Doctype:
- User Group Permission
Fields:
- Fields similar to those in user permissions, allowing administrators to define read, write, create, and delete permissions for the selected user group on the chosen document(s).
Discovery:
Users can easily find the "User Group Permission" doctype by searching for it in the search bar within the Frappe application.
Links to Existing Doctypes:
- This feature will integrate with the existing "User Group" doctype, allowing administrators to select user groups from the available list when configuring permissions.
from frappe.
from frappe.
Related Issues (20)
- Form builder fields reset when cancelling "create child table" dialog
- `bench restore` command fails due to missing `file` command in Docker container
- I am encountering an AttributeError while working with Frappe
- Event-based reminder
- Add an option to add TO recipients in notifications based on To Recipient Field
- can we add OR kind of filter in the list view?
- `save_file()` saves file twice
- `frappe.conf.muted`: a single flag that can disable all non-production features
- Got an error trying to link a Contact to a custom doctype using autoincrement naming
- Wrong host for sql user is set after backup restore HOT 1
- Global Search for Last Name doesn't work HOT 2
- Yarn production build fails for Frappe ERPNext v15 HOT 3
- Frappe "Scan Bar Code Library Does not work
- Width of Column "Serial Number" in Script Report - two digit numbers are getting hide, showing three dots.
- Link Preview is not refreshed on change HOT 4
- Integrations -> Utils -> get_request - cover response 204 => "204 No Content" HOT 3
- frappe-bench installation issue HOT 1
- Underutilization of Replica Database in Frappe v15 AWS Setup with Load Balancer HOT 5
- Allow title_field option on Child Table
- Sign Up Link not working in latest frappe HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frappe.