diff --git a/src/middlewared/middlewared/role.py b/src/middlewared/middlewared/role.py index 03ac7333343e3..3c65df32b642e 100644 --- a/src/middlewared/middlewared/role.py +++ b/src/middlewared/middlewared/role.py @@ -25,7 +25,7 @@ class Role: 'FILESYSTEM_DATA_WRITE']), 'FULL_ADMIN': Role(full_admin=True), - 'READONLY': Role(includes=['FILESYSTEM_READ_ATTRS']), + 'READONLY': Role(includes=['FILESYSTEM_ATTRS_READ']), 'SHARING_ISCSI_EXTENT_READ': Role(), 'SHARING_ISCSI_EXTENT_WRITE': Role(includes=['SHARING_ISCSI_EXTENT_READ']),