Commits

Anonymous committed 94c0d10 Draft

Simplify security settings for 'file' and 'msg'.

Comments (0)

Files changed (1)

                                               ))
 
     db.security.addPermissionToRole('Anonymous', p)
-    db.security.addPermissionToRole('User', p)
-
-    p = db.security.addPermission(name='View', klass=cl,
-                                  description="Allowed to see content of object regardless of spam status",
-                                  properties = ('content', 'summary'))
-    
-    db.security.addPermissionToRole('User', p)    
     
     spamcheck = db.security.addPermission(name='View', klass=cl,
                                           description="allowed to see metadata of file object regardless of spam status",