~hatch/charms/precise/juju-gui/trunk

« back to all changes in this revision

Viewing changes to config.yaml

  • Committer: Francesco Banconi
  • Date: 2013-01-17 11:00:32 UTC
  • mfrom: (25.1.9 juju-gui)
  • Revision ID: francesco.banconi@canonical.com-20130117110032-9jp3z6d1zh4xwjke
User, password and read-only options.

This branch adds three more options to
the charm. If staging is true, user and
password options are ignored, and the
authentication is automatically handled
by the charm, providing staging pre-defined
values.

R=
CC=
https://codereview.appspot.com/7127048

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
      the GUI. Both ssl-cert-contents and ssl-key-contents must be provided.
64
64
      If not, cetificates will be automatically generated.
65
65
    type: string
 
66
  user:
 
67
    description: |
 
68
      The username to be used in the authentication process. Both user and
 
69
      password must be provided. If not, they will be ignored and the user will
 
70
      be asked to authenticate using the login screen. This option is ignored
 
71
      if staging is set to true.
 
72
    type: string
 
73
  password:
 
74
    description: |
 
75
      The password to be used in the authentication process. Both user and
 
76
      password must be provided. If not, they will be ignored and the user will
 
77
      be asked to authenticate using the login screen. This option is ignored
 
78
      if staging is set to true.
 
79
    type: string
66
80
  login-help:
67
81
    description: |
68
82
      The help text shown to the user on the login screen.
70
84
    default: |
71
85
      The password is the admin-secret from the Juju environment.  This can
72
86
      often be found by looking in ~/.juju/environments.yaml.
 
87
  read-only:
 
88
    description: |
 
89
      Whether or not the GUI is in read-only mode. Note that read-only mode is
 
90
      advisory, and enforced only in the client. If someone can access the
 
91
      websocket and has the password, they can send commands over the websocket
 
92
      to mutate the environment.
 
93
    type: boolean
 
94
    default: false