fix: improve scim handling of renames on azure

This commit is contained in:
Ruben Fiszel
2024-02-22 14:35:40 +01:00
parent e50840f7d6
commit 75eaa4bd30
18 changed files with 41 additions and 397 deletions
@@ -148,6 +148,7 @@
class="text-red-500 whitespace-nowrap"
on:click={() => {
deleteConfirmedCallback = async () => {
console.log(email)
await UserService.globalUserDelete({ email })
sendUserToast(`User ${email} removed`)
listUsers()
+12 -1
View File
@@ -1,6 +1,17 @@
const aCharCode = 'a'.charCodeAt(0)
export const forbiddenIds: string[] = ['do', 'bg', 'ctx', 'state', 'if', 'else', 'for']
export const forbiddenIds: string[] = [
'do',
'bg',
'ctx',
'state',
'if',
'else',
'for',
'delete',
'while',
'new'
]
export function numberToChars(n: number) {
if (n < 0) {