Fixing scope annotation /enrollment-invite

revert-70aa11f8
Rasika Perera 8 years ago
parent 63cb0e1fde
commit e11d2244f5

@ -771,11 +771,10 @@ public interface UserManagementService {
value = "Sending Enrollment Invitations to email address", value = "Sending Enrollment Invitations to email address",
notes = "Send the a mail inviting recipients to enroll devices.", notes = "Send the a mail inviting recipients to enroll devices.",
tags = "User Management", tags = "User Management",
authorizations = { extensions = {
@Authorization( @Extension(properties = {
value = "permission", @ExtensionProperty(name = Constants.SCOPE, value = "perm:users:send-invitation")
scopes = {@AuthorizationScope(scope = "/device-mgt/users/invite", description = "Invite Users")} })
)
} }
) )
@ApiResponses(value = { @ApiResponses(value = {

Loading…
Cancel
Save