Skip to content
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;
}
  1. User Login >> Control Panel >> Setting will show two options (Variable, google)
  2. Upon Clicking google it will show UI form that gets "api_key" and "client_secret"
  3. This screen is restricted to the given role
Clone this wiki locally