@property
    def permissions(self):
        perms = set()
        for g in self.groups:
            perms = perms | set(g.permissions)
        return perms
Return a set with all permissions granted to the user.
dataset/ETHPy150Open amol-/depot/examples/turbogears/depotexample/model/auth.py/User.permissions