Code Monkey home page Code Monkey logo

Comments (5)

devarshi-007 avatar devarshi-007 commented on June 5, 2024

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.

Bhoomiz01 avatar Bhoomiz01 commented on June 5, 2024

Similar feature requests have been made previously.

from frappe.

devarshi-007 avatar devarshi-007 commented on June 5, 2024

From anyone from Frappe confirm whether we start to work on this feature or not?

from frappe.

Bhoomiz01 avatar Bhoomiz01 commented on June 5, 2024

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.

Bhoomiz01 avatar Bhoomiz01 commented on June 5, 2024

@ankush

from frappe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.