Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Fix issue in permission set model builder
Browse files Browse the repository at this point in the history
  • Loading branch information
lucabriguglia committed Aug 16, 2020
1 parent 258e662 commit 39e6006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Atlas.Data/Builders/Admin/PermissionSetModelBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public async Task<FormComponentModel> BuildEditFormModelAsync(Guid siteId, Guid
}

private static bool IsReadingPermissionType(PermissionType permissionType) =>
permissionType == PermissionType.ViewTopics ||
permissionType == PermissionType.ViewForum ||
permissionType == PermissionType.ViewTopics ||
permissionType == PermissionType.Read;
}
Expand Down

0 comments on commit 39e6006

Please sign in to comment.