mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-02 00:36:38 +00:00
Add name and lock client to specific olm
This commit is contained in:
@@ -11,6 +11,7 @@ import * as accessToken from "./accessToken";
|
||||
import * as apiKeys from "./apiKeys";
|
||||
import * as idp from "./idp";
|
||||
import * as siteResource from "./siteResource";
|
||||
import * as olm from "./olm";
|
||||
import {
|
||||
verifyApiKey,
|
||||
verifyApiKeyOrgAccess,
|
||||
@@ -556,6 +557,12 @@ authenticated.delete(
|
||||
// newt.createNewt
|
||||
// );
|
||||
|
||||
authenticated.put(
|
||||
"/olm",
|
||||
verifyApiKeyHasAction(ActionsEnum.createOlm),
|
||||
olm.createOlm
|
||||
);
|
||||
|
||||
authenticated.get(
|
||||
`/org/:orgId/api-keys`,
|
||||
verifyApiKeyIsRoot,
|
||||
|
||||
Reference in New Issue
Block a user