specialunderwear/django-easymode — Issue #1: Check standard permissions for add/edit/remove features
Author: nnseva
Created: 2011-11-08 08:08:55+00:00
State: open

Let we have two classes, f.e.:

```python
class Top(models.Model):
pass
class Bottom(models.Model):
top = models.ForeignKey(Top)
```

and tree admin view where the Top is a root object class, while Bottom is a leaf object class.

User having no permissions to add a new Bottom object should not see the "Add ..." button in a tree view
User having no permissions to add a new Bottom object should not see the empty Bottom object in a tree view
User having no permissions to edit the Bottom object should not see the "Edit ..." button/link in a tree view
User having no permissions to edit the Bottom object should not see editable fields in a tree view
User having no permissions to delete the Bottom object should not see the "Delete ..." checkbox in a tree view