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