public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
[API docs] Added domain admin acl edit route (#3802)
49cca3b1
data/web/api/openapi.yaml | 99 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 99 insertions(+)
Diff
diff --git a/data/web/api/openapi.yaml b/data/web/api/openapi.yaml
index c168902e..83a0f870 100644
--- a/data/web/api/openapi.yaml
+++ b/data/web/api/openapi.yaml
@@ -615,6 +615,105 @@ paths:
type: string
type: object
summary: Create Domain Admin user
+ /api/v1/edit/da-acl:
+ post:
+ responses:
+ "401":
+ $ref: "#/components/responses/Unauthorized"
+ "200":
+ content:
+ application/json:
+ examples:
+ response:
+ value:
+ - type: success
+ log:
+ - acl
+ - edit
+ - testadmin
+ - username:
+ - testadmin
+ da_acl:
+ - syncjobs
+ - quarantine
+ - login_as
+ - sogo_access
+ - app_passwds
+ - bcc_maps
+ - pushover
+ - filters
+ - ratelimit
+ - spam_policy
+ - extend_sender_acl
+ - unlimited_quota
+ - protocol_access
+ - smtp_ip_access
+ - alias_domains
+ - domain_desc
+ msg:
+ - acl_saved
+ - testadmin
+ schema:
+ properties:
+ log:
+ description: contains request object
+ items: {}
+ type: array
+ msg:
+ items: {}
+ type: array
+ type:
+ enum:
+ - success
+ - danger
+ - error
+ type: string
+ type: object
+ description: OK
+ headers: {}
+ tags:
+ - Domain admin
+ description: >-
+ Using this endpoint you can edit the ACLs of a Domain Admin user. This user
+ has full control over a domain, and can create new mailboxes and
+ aliases.
+ operationId: Edit Domain Admin user
+ requestBody:
+ content:
+ application/json:
+ schema:
+ example:
+ items:
+ - testadmin
+ attr:
+ da_acl:
+ - syncjobs
+ - quarantine
+ - login_as
+ - sogo_access
+ - app_passwds
+ - bcc_maps
+ - pushover
+ - filters
+ - ratelimit
+ - spam_policy
+ - extend_sender_acl
+ - unlimited_quota
+ - protocol_access
+ - smtp_ip_access
+ - alias_domains
+ - domain_desc
+ properties:
+ items:
+ description: contains the domain admin username you want to edit
+ type: object
+ attr:
+ properties:
+ da_acl:
+ description: contains the list of acl names that are active for this user
+ type: object
+ type: object
+ summary: Edit Domain Admin ACL
/api/v1/add/domain-policy:
post:
responses: