mirror of
https://github.com/ceph/ceph
synced 2025-01-20 10:01:45 +00:00
rest-api: key missing for per "rx" and "rwx"
commit85a1cf31e6
anddb266a3fb2
introduce new per "rx" and "rwx", but key missing for per "rx" and "rwx" in permmap Signed-off-by: Ailing Zhang <ailzhang@cisco.com>
This commit is contained in:
parent
f7f7659b7e
commit
0b5a674107
@ -274,7 +274,7 @@ def show_human_help(prefix):
|
||||
# XXX There ought to be a better discovery mechanism than an HTML table
|
||||
s = '<html><body><table border=1><th>Possible commands:</th><th>Method</th><th>Description</th>'
|
||||
|
||||
permmap = {'r':'GET', 'rw':'PUT'}
|
||||
permmap = {'r':'GET', 'rw':'PUT', 'rx':'GET', 'rwx':'PUT'}
|
||||
line = ''
|
||||
for cmdsig in sorted(app.ceph_sigdict.itervalues(), cmp=descsort):
|
||||
concise = concise_sig(cmdsig['sig'])
|
||||
|
Loading…
Reference in New Issue
Block a user