-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[backend/frontend] add policies page (#391)
- Loading branch information
1 parent
329c595
commit af85fe3
Showing
21 changed files
with
933 additions
and
580 deletions.
There are no files selected for viewing
385 changes: 53 additions & 332 deletions
385
openbas-api/src/main/java/io/openbas/rest/settings/PlatformSettingsApi.java
Large diffs are not rendered by default.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
openbas-api/src/main/java/io/openbas/rest/settings/form/PolicyInput.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,20 @@ | ||
package io.openbas.rest.settings.form; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
@Setter | ||
@Getter | ||
public class PolicyInput { | ||
|
||
@JsonProperty("platform_login_message") | ||
private String loginMessage; | ||
|
||
@JsonProperty("platform_consent_message") | ||
private String consentMessage; | ||
|
||
@JsonProperty("platform_consent_confirm_text") | ||
private String consentConfirmText; | ||
|
||
} |
38 changes: 0 additions & 38 deletions
38
openbas-api/src/main/java/io/openbas/rest/settings/response/PlatformSetting.java
This file was deleted.
Oops, something went wrong.
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.