Honor the set_default_role_all parameter (#282)

The set_default_role_all parameter is documented, but does nothing. This PR fixes this.
This commit is contained in:
Benoit Garret 2022-02-04 10:43:24 +01:00 committed by GitHub
parent cbdf51234a
commit f547b66d35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -769,7 +769,8 @@ class Role():
self.cursor.execute(*self.q_builder.role_grant(user))
self.role_impl.set_default_role_all(user)
if set_default_role_all:
self.role_impl.set_default_role_all(user)
changed = True