The change in
b3e69a96093 broke the test's assumption that the endpoint
wouldn't be readable by block-manager. It doesn't looks as though that's
actually problematic for the ECP controller, so just update the test to
use rgw-manager instead.
Signed-off-by: Zack Cerza <zack@redhat.com>
AUTH_ROLES = ['pool-manager']
- @DashboardTestCase.RunAs('test', 'test', ['block-manager'])
+ @DashboardTestCase.RunAs('test', 'test', ['rgw-manager'])
def test_read_access_permissions(self):
self._get('/api/erasure_code_profile')
self.assertStatus(403)