mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-16 17:51:17 +10:00
partial: new documentation additions (company admin)
This commit is contained in:
@ -11,6 +11,9 @@ const CreateInvite = SharedRegisterValidator.partial()
|
||||
})
|
||||
.configure(throwingArktype);
|
||||
|
||||
/**
|
||||
* Creates a "Simple" invitation
|
||||
*/
|
||||
export default defineEventHandler(async (h3) => {
|
||||
const allowed = await aclManager.allowSystemACL(h3, [
|
||||
"auth:simple:invitation:new",
|
||||
|
||||
Reference in New Issue
Block a user