##// END OF EJS Templates
fixes issue with initial grant/revoke permissions for users group
marcink -
r1932:1cf94aad beta
parent child Browse files
Show More
@@ -146,5 +146,6 b' class UsersGroupModel(BaseModel):'
146
146
147 obj = UsersGroupToPerm.query()\
147 obj = UsersGroupToPerm.query()\
148 .filter(UsersGroupToPerm.users_group == users_group)\
148 .filter(UsersGroupToPerm.users_group == users_group)\
149 .filter(UsersGroupToPerm.permission == perm).one()
149 .filter(UsersGroupToPerm.permission == perm).scalar()
150 if obj:
150 self.sa.delete(obj)
151 self.sa.delete(obj)
General Comments 0
You need to be logged in to leave comments. Login now