Giter Club home page Giter Club logo

Comments (2)

lukaszb avatar lukaszb commented on May 27, 2024

Main problem here is that there is not distinction between class based and object based permissions, they are all instances of django.contrib.auth.models.Permission model.

As guardian's documentation state, it utilizes auth app, and to define new permissions one would need to modify model's Meta.permissions. There is however, no flag nor option to distinguish those.

On the other hand, this may indeed be handy and I'm going to add some options to GuardedModelAdmin. Thanks for idea!

from django-guardian.

unho avatar unho commented on May 27, 2024

_On the other hand, this may indeed be handy and I'm going to add some options to GuardedModelAdmin. Thanks for idea!_

I suggest you to add two options in order to enable the developers to hide the permissions table for users and/or groups in the permission list page in an easy way. show_users_permissions_table and show_groups_permissions_table may be good names.

from django-guardian.

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.