]> git.parisson.com Git - telemeta.git/commitdiff
add "cannot_view_users_and_profiles" perm
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 20 May 2013 20:20:35 +0000 (22:20 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 20 May 2013 20:20:35 +0000 (22:20 +0200)
telemeta/models/system.py

index c7b3719c4ae7b7538673e5a4cb6fc5a72441ce6c..db0795e9b3fb3992ed43dc4431aebf8c74825de2 100644 (file)
@@ -92,6 +92,7 @@ class UserProfile(models.Model):
 
     class Meta(MetaCore):
         db_table = 'profiles'
+        permissions = (("cannot_view_users_and_profiles", "Cannot view other users and any profile"),)
 
 
 class Criteria(ModelCore):