Revision 2988ae31

b/docs/admin-guide.rst
137 137

  
138 138
FIXME: Describe Regex activation method
139 139

  
140
Setting quota limits
141
~~~~~~~~~~~~~~~~~~~~
142

  
143
Set default quotas
144
``````````````````
145

  
146
In 20-snf-astakos-app-settings.conf, 
147
uncomment the default setting ``ASTAKOS_SERVICES``
148
and customize the ``'uplimit'`` values.
149
These are the default base quotas for all users.
150

  
151
To apply your configuration run::
152

  
153
    # snf-manage astakos-init --load-service-resources
154
    # snf-manage astakos-quota --sync
155

  
156
Set base quotas for individual users
157
````````````````````````````````````
158

  
159
For individual users that need different quotas than the default
160
you can set it for each resource like this::
161

  
162
    # use this to display quotas / uuid
163
    # snf-manage user-show 'uuid or email'
164

  
165
    # snf-manage user-set-initial-quota --set-capacity 'user-uuid' 'cyclades.vm' 10
166

  
167
    # this applies the configuration
168
    # snf-manage astakos-quota --sync --user 'user-uuid'
169

  
170

  
171
Enable the Projects feature
172
~~~~~~~~~~~~~~~~~~~~~~~~~~~
173

  
174
If you want to enable the projects feature so that users may apply
175
on their own for resources by creating and joining projects,
176
in ``20-snf-astakos-app-settings.conf`` set::
177

  
178
    # this will allow at most one pending project application per user
179
    ASTAKOS_PENDING_APPLICATION_LIMIT = 1
180
    # this will make the 'projects' page visible in the dashboard
181
    ASTAKOS_PROJECTS_VISIBLE = True
182

  
183
When users apply for projects they are not automatically granted
184
the resources. They must first be approved by the administrator.
185

  
186
To list pending project applications in astakos::
187

  
188
    # snf-manage project-list --pending
189

  
190
Note the last column, the application id. To approve it::
191

  
192
    # <app id> from the last column of project-list
193
    # snf-manage project-control --approve <app id>
194

  
195
To deny an application::
196

  
197
    # snf-manage project-control --deny <app id>
198

  
199

  
200

  
140 201
Astakos advanced operations
141 202
---------------------------
142 203

  

Also available in: Unified diff