mirror of
https://github.com/ceph/ceph
synced 2025-01-29 22:43:40 +00:00
osd: accept 'allow *' as an admin flag that sets allow_all
in the OSDCap.
This commit is contained in:
parent
9a8dd4f82b
commit
9b3786f6c4
@ -101,7 +101,10 @@ do { \
|
||||
} while (0)
|
||||
|
||||
if (get_next_token(s, pos, token)) {
|
||||
if (token.compare("=") == 0) {
|
||||
if (token.compare("*") == 0) { //allow all operations
|
||||
ASSERT_STATE(op_allow);
|
||||
allow_all = true;
|
||||
} else if (token.compare("=") == 0) {
|
||||
ASSERT_STATE(any_cmd);
|
||||
got_eq = true;
|
||||
} else if (token.compare("allow") == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user