-
Notifications
You must be signed in to change notification settings - Fork 14
Settings Manager
Sathish Kumar Thiyagarajan edited this page May 13, 2014
·
1 revision
Default Setting User Login >> Control Panel >> Setting >> Variable will provide a screen that will have table of key value pairs. Variable can be System or User Scope
Custom Setting: Plugin Developer will be able to host their settings configuration inside zols. For E.g If we developer provides a plugin that has below class
@Settings(value="google",@optional role="ADMIN")
public class GoogleSettings {
private String api_key;
private String client_secret;
}
- User Login >> Control Panel >> Setting will show two options (Variable, google)
- Upon Clicking google it will show UI form that gets "api_key" and "client_secret"
- This screen is restricted to the given role