forked from eclipse-vorto/vorto
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* end-to-end workflow for technical user creation when adding a non-existing user to a namespace: 1. Admin edits collaborators in a given namespace 2. Admin selects "add user" 3. Given username does not exist 4. A new modal opens, prompting admin to create a new technical user with a given authorization provider ID among supported 5. Once created, modals close and the new technical user is created * no tests present yet Signed-off-by: Menahem Julien Raccah Lisei <[email protected]>
- Loading branch information
Showing
6 changed files
with
222 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
...re/src/main/java/org/eclipse/vorto/repository/web/account/dto/TenantTechnicalUserDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/** | ||
* Copyright (c) 2019 Contributors to the Eclipse Foundation | ||
* | ||
* See the NOTICE file(s) distributed with this work for additional | ||
* information regarding copyright ownership. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License 2.0 which is available at | ||
* https://www.eclipse.org/legal/epl-2.0 | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
package org.eclipse.vorto.repository.web.account.dto; | ||
|
||
/** | ||
* Represents a payload for requests to perform both: | ||
* <ul> | ||
* <li> | ||
* Create a new technical user with given name, roles and authentication provider ID | ||
* </li> | ||
* <li> | ||
* Add to the given namespace | ||
* </li> | ||
* </ul> | ||
* @author mena-bosch | ||
*/ | ||
public class TenantTechnicalUserDto extends TenantUserDto { | ||
private String authenticationProviderId; | ||
public String getAuthenticationProviderId() { | ||
return authenticationProviderId; | ||
} | ||
public void setAuthenticationProviderId(String value) { | ||
this.authenticationProviderId = value; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.