Is there a way to add "public" objects using django-guardian -


i using great django-guardian manage per object permissions on project. in such project users granted permission (view, instance) public objects.

as far know way granting each user permission each public object every-time account created.

is there better way such leaving object "wild card" permission or similar. using group best?

feedback appreciated.

my recommendation assign users when created group , provide access models default group in definition of model, described here: https://django-guardian.readthedocs.org/en/v1.2/userguide/assign.html


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -