mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-1808 auth model adminOnly property (#743)
* CB-1808 auth model adminOnly property * CB-1808 rename auth model property
This commit is contained in:
@@ -166,6 +166,8 @@ type DatabaseAuthModel {
|
||||
displayName: String!
|
||||
description: String
|
||||
icon: String
|
||||
# checks if the auth model needs a configuration on a local file system
|
||||
requiresLocalConfiguration: Boolean
|
||||
|
||||
properties: [ObjectPropertyInfo!]!
|
||||
}
|
||||
|
||||
+5
@@ -58,6 +58,11 @@ public class WebDatabaseAuthModel {
|
||||
return WebServiceUtils.makeIconId(model.getIcon());
|
||||
}
|
||||
|
||||
@Property
|
||||
public boolean getRequiresLocalConfiguration() {
|
||||
return model.requiresLocalConfiguration();
|
||||
}
|
||||
|
||||
@Property
|
||||
public WebPropertyInfo[] getProperties() throws DBWebException {
|
||||
boolean hasContextCredentials = webSession.hasContextCredentials();
|
||||
|
||||
Reference in New Issue
Block a user