Merge pull request #2491 from akhilmhdh/feat/error-dashboard

fix: resolved permission not defined for custom org role
This commit is contained in:
Akhil Mohan
2024-09-26 21:36:50 +05:30
committed by GitHub
4 changed files with 13 additions and 3 deletions
@@ -50,6 +50,7 @@ export const permissionDALFactory = (db: TDbClient) => {
.select(
selectAllTableCols(TableName.OrgMembership),
db.ref("slug").withSchema(TableName.OrgRoles).withSchema(TableName.OrgRoles).as("customRoleSlug"),
db.ref("permissions").withSchema(TableName.OrgRoles),
db.ref("authEnforced").withSchema(TableName.Organization).as("orgAuthEnforced"),
db.ref("groupId").withSchema("userGroups"),
db.ref("groupOrgId").withSchema("userGroups"),