diff --git a/djangoldp_profile/models.py b/djangoldp_profile/models.py index a2332027fe5c47b8c965c540c0d900764b832746..97e58927281bb5950d88c7c44030296a6ca7fb12 100644 --- a/djangoldp_profile/models.py +++ b/djangoldp_profile/models.py @@ -23,11 +23,10 @@ class Profile(Model): class Meta: auto_author = 'user' - permissions = ( - ('view_member', 'Read'), - ('control_member', 'Control'), - ) - depth = 0 + anonymous_perms = ['view'] + authenticated_perms = ['inherit'] + owner_perms = ['inherit', 'change'] + def __str__(self): return '{} ({})'.format(self.user.get_full_name(), self.user.username)