Skip to content

Commit

Permalink
Merge branch '5.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
petmongrels committed Oct 23, 2023
2 parents 26c646d + c8a475a commit 6365afd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ class EntitySyncStatusService extends BaseService {

removeRevokedPrivileges(entityMetaDataModel, syncDetails) {
const hasAllPrivileges = this.getService(PrivilegeService).hasAllPrivileges();
if (hasAllPrivileges) return;
if (hasAllPrivileges) return [...syncDetails];

const privilegeEntities = entityMetaDataModel.filter(entity => entity.privilegeParam);
const syncDetailsWithPrivilege = [...syncDetails];
privilegeEntities.forEach(entity => {
Expand Down

0 comments on commit 6365afd

Please sign in to comment.