Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Gijsdeman committed Aug 21, 2023
1 parent 10089c5 commit 8be5357
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ async function synchronizeUserACL(activeDirectoryUser: ActiveDirectoryUser, perm
attributes: ['memberFlattened'],
})).searchEntries[0] as unknown as ActiveDirectoryUser;

console.log('CHECKING');
console.log(activeDirectoryUser);

await updateLocalUserPermissions(activeDirectoryUser.mail, activeDirectoryPermissionGroup.memberFlattened, permission)
.then(async (changedUsers: ChangedUsers) => {
if (changedUsers.newUsers.length != 0) {
Expand Down Expand Up @@ -429,7 +432,6 @@ async function synchronizeUsersWithActiveDirectory(): Promise<void> {
*/
async function synchronizePermissionsWithActiveDirectory(): Promise<void> {
for (const activeDirectoryUser of activeDirectoryUsers) {
console.log(activeDirectoryUser.mail);
try {
// Check if current user has corresponding permissions
// Sometimes, the mail considered is a personal account, but it can also be a shared mailbox
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.tsbuildinfo

Large diffs are not rendered by default.

0 comments on commit 8be5357

Please sign in to comment.