Revision 345dcf39 snf-pithos-backend/pithos/backends/lib/sqlite/permissions.py
b/snf-pithos-backend/pithos/backends/lib/sqlite/permissions.py | ||
---|---|---|
67 | 67 |
self.xfeature_destroy(path) |
68 | 68 |
return |
69 | 69 |
feature = self.xfeature_create(path) |
70 |
self.feature_clear(feature, READ) |
|
71 |
self.feature_clear(feature, WRITE) |
|
70 | 72 |
if r: |
71 |
self.feature_clear(feature, READ) |
|
72 | 73 |
self.feature_setmany(feature, READ, r) |
73 | 74 |
if w: |
74 |
self.feature_clear(feature, WRITE) |
|
75 | 75 |
self.feature_setmany(feature, WRITE, w) |
76 | 76 |
|
77 | 77 |
def access_get(self, path): |
Also available in: Unified diff