mail: allow masquerading for mail manager
this is mostly for the UI, it's hard to hide just this
This commit is contained in:
@@ -285,7 +285,7 @@ function initializeExpressSync() {
|
||||
router.get ('/api/v1/mail/:domain', token, authorizeMailManager, routes.mail.getDomain);
|
||||
router.post('/api/v1/mail/:domain/enable', json, token, authorizeAdmin, routes.mail.setMailEnabled);
|
||||
router.get ('/api/v1/mail/:domain/status', token, authorizeMailManager, routes.mail.getStatus);
|
||||
router.post('/api/v1/mail/:domain/mail_from_validation', json, token, authorizeAdmin, routes.mail.setMailFromValidation);
|
||||
router.post('/api/v1/mail/:domain/mail_from_validation', json, token, authorizeMailManager, routes.mail.setMailFromValidation);
|
||||
router.post('/api/v1/mail/:domain/catch_all', json, token, authorizeMailManager, routes.mail.setCatchAllAddress);
|
||||
router.post('/api/v1/mail/:domain/relay', json, token, authorizeAdmin, routes.mail.setMailRelay);
|
||||
router.post('/api/v1/mail/:domain/banner', json, token, authorizeMailManager, routes.mail.setBanner);
|
||||
|
||||
Reference in New Issue
Block a user