aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gn3/auth/authorisation/roles/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gn3/auth/authorisation/roles/models.py b/gn3/auth/authorisation/roles/models.py
index 3c57b9d..97e11af 100644
--- a/gn3/auth/authorisation/roles/models.py
+++ b/gn3/auth/authorisation/roles/models.py
@@ -25,6 +25,7 @@ class Role(NamedTuple):
"""Return a dict representation of `Role` objects."""
return {
"role_id": self.role_id, "role_name": self.role_name,
+ "user_editable": self.user_editable,
"privileges": tuple(dictify(priv) for priv in self.privileges)
}