added permission updates on certificates

revert-70aa11f8
ayyoob 9 years ago
parent aa6298b5e7
commit 52c59c8e53

@ -33,7 +33,7 @@
<Permission> <Permission>
<name>get certificate in the database</name> <name>get certificate in the database</name>
<path>/device-mgt/emm-admin/certificate/GetSignCSR</path> <path>/device-mgt/emm-admin/certificate/GetSignCSR</path>
<url>/certificates/signcsr</url> <url>/certificates/scep/signcsr</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin</scope> <scope>emm_admin</scope>
</Permission> </Permission>

@ -29,38 +29,30 @@
--> -->
<PermissionConfiguration> <PermissionConfiguration>
<APIVersion></APIVersion> <APIVersion></APIVersion>
<!-- Device related APIs -->
<Permission>
<name>get certificate in the database</name>
<path>/device-mgt/emm-admin/certificate/GetSignCSR</path>
<url>/certificates/sign-csr</url>
<method>POST</method>
<scope>emm_admin</scope>
</Permission>
<!-- CertificateManagementAdminService related APIs --> <!-- CertificateManagementAdminService related APIs -->
<Permission> <Permission>
<name>Save certificate</name> <name>Save certificate</name>
<path>/device-mgt/admin/certificate/Save</path> <path>/device-mgt/admin/certificate/Save</path>
<url>/certificates</url> <url>/admin/certificates</url>
<method>POST</method> <method>POST</method>
</Permission> </Permission>
<Permission> <Permission>
<name>Get certificate</name> <name>Get certificate</name>
<path>/device-mgt/admin/certificate/Get</path> <path>/device-mgt/admin/certificate/Get</path>
<url>/certificates/*</url> <url>/admin/certificates/*</url>
<method>GET</method> <method>GET</method>
</Permission> </Permission>
<Permission> <Permission>
<name>Get all certificates</name> <name>Get all certificates</name>
<path>/device-mgt/admin/certificate/GetAll</path> <path>/device-mgt/admin/certificate/GetAll</path>
<url>/certificates</url> <url>/admin/certificates</url>
<method>GET</method> <method>GET</method>
</Permission> </Permission>
<Permission> <Permission>
<name>Remove certificate</name> <name>Remove certificate</name>
<path>/device-mgt/admin/certificate/Remove</path> <path>/device-mgt/admin/certificate/Remove</path>
<url>/certificates/*</url> <url>/admin/certificates/*</url>
<method>DELETE</method> <method>DELETE</method>
</Permission> </Permission>
<!-- End of CertificateManagementAdminService related APIs --> <!-- End of CertificateManagementAdminService related APIs -->

Loading…
Cancel
Save