diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index c0aa1ecfe2..3c0ad4600f 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -33,7 +33,7 @@ jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 # Steps represent a sequence of tasks that will be executed as part of the job steps: diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 02920d5ba9..4917be0eab 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -13,7 +13,7 @@ concurrency: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: IMAGE_TAG: ${{ steps.docker_tag.outputs.IMAGE_TAG }} steps: diff --git a/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/settings/users/Users.jsx b/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/settings/users/Users.jsx index cf65e32dda..adc3d73268 100644 --- a/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/settings/users/Users.jsx +++ b/apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/settings/users/Users.jsx @@ -25,7 +25,8 @@ const Users = () => { const [usersCollection, setUsersCollection] = useState([]) const [roleHierarchy, setRoleHierarchy] = useState([]) const [allCollections, setAllCollections] = useState([]) - let rbacAccess = func.checkForRbacFeature(); + let rbacAccess = func.checkForRbacFeatureBasic(); + let rbacAccessAdvanced = func.checkForRbacFeature() const collectionsMap = PersistStore(state => state.collectionsMap) @@ -319,7 +320,7 @@ const Users = () => { { content: ( - { (role === 'ADMIN' || userRole !== 'ADMIN' || !rbacAccess) ? undefined : + { (role === 'ADMIN' || userRole !== 'ADMIN' || !rbacAccessAdvanced) ? undefined :