3 ms·
Me too, but I'm a bit confused by: authenticated with a superuser So is this primarily for editing your own site? I'm looking for something where users can
by speg 13y ago
Me too, but I'm a bit confused by:
authenticated with a superuser
So is this primarily for editing your own site? I'm looking for something where users can edit their own data.
- tsurantino 13y agoYou can probably change permissions in either the plugin or jQuery such that any user can do this.
- iliaznk 13y agoIt's for editing you own data on a site, I'd say. But every user must be a superuser then... I wonder if that presents some non-avoidable security issues in this case.
- raimondious 13y agoPermissions are apparently customizable https://github.com/Yaco-Sistemas/django-inplaceedit#overwriting-the-default-permission-adaptor https://github.com/Yaco-Sistemas/django-inplaceedit#overwrit...
- iliaznk 13y agoThat's true. Super!
- SoftwareMaven 13y agoThere is a section lower down on TFA that documents using a Permission-based test or a custom test. Over all, looks like I'll probably swap my hacked-together-from-jquery-plugin-and-ajax-api solution with this. Much cleaner for my code.
- kevinastone 13y agoI would think `is_staff` makes more logical sense.
- goinnn 13y agoThis is customizable, two examples: https://github.com/Yaco-Sistemas/django-inplaceedit/blob/master/inplaceeditform/perms.py https://github.com/Yaco-Sistemas/django-inplaceedit/blob/mas... If you think that is more logical sense with is_staff you can customize it very very easy