Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | mds/MDSAuthCap: verify the caller_gid is valid | Sage Weil | 2015-10-01 | 1 | -4/+22 | |
| | | | | | | Verify both the caller uid and gid are a match for the given rule. Signed-off-by: Sage Weil <sage@redhat.com> | |||||
* | mds: fix chown/chgrp check and tests | Sage Weil | 2015-10-01 | 1 | -19/+19 | |
| | | | | Signed-off-by: Sage Weil <sage@redhat.com> | |||||
* | unittest_mds_authcaps: fix a few unit tests | Sage Weil | 2015-10-01 | 1 | -3/+5 | |
| | | | | | | | The MAY_CREATE conditoin is simple: the created inode must match the caller uid and gid. Signed-off-by: Sage Weil <sage@redhat.com> | |||||
* | mds/MDSAuthCaps: add test cases for is_capable | Nishtha Rai | 2015-10-01 | 1 | -10/+18 | |
| | ||||||
* | unittest_mds_authcap: test lists of allow grants | Sage Weil | 2015-10-01 | 1 | -0/+9 | |
| | | | | Signed-off-by: Sage Weil <sage@redhat.com> | |||||
* | mds/MDSAuthCap: drop leading / in paths | Sage Weil | 2015-10-01 | 1 | -8/+8 | |
| | | | | Signed-off-by: Sage Weil <sage@redhat.com> | |||||
* | mds/MDSAuthCaps: add cct for debug context | Sage Weil | 2015-10-01 | 1 | -9/+9 | |
| | | | | | signed-off-by: Nishtha Rai <nishtha3rai@gmail.com> Signed-off-by: Sage Weil <sage@redhat.com> | |||||
* | mds/MDSAuthCaps: pass down inode uid.gid and mode | Sage Weil | 2015-10-01 | 1 | -8/+8 | |
| | | | | | | We will need this to evaluate the unix permissions. Signed-off-by: Sage Weil <sage@redhat.com> | |||||
* | mds/MDSAuthCaps: use bitmask for is_capable() | Sage Weil | 2015-10-01 | 1 | -8/+8 | |
| | | | | Signed-off-by: Sage Weil <sage@redhat.com> | |||||
* | mds/MDSAuthCap: fix path match | Sage Weil | 2015-10-01 | 1 | -0/+1 | |
| | | | | Signed-off-by: Sage Weil <sage@redhat.com> | |||||
* | mds/MDSAuthCaps: parse optional gid list | Sage Weil | 2015-10-01 | 1 | -0/+13 | |
| | | | | Signed-off-by: Sage Weil <sage@redhat.com> | |||||
* | test: unit tests for MDSAuthCaps | John Spray | 2014-10-08 | 1 | -0/+151 | |
Signed-off-by: John Spray <john.spray@redhat.com> |