diff --git a/backend/migrations/versions/3fa0c38ea1ac_add_velero_as_app.py b/backend/migrations/versions/3fa0c38ea1ac_add_velero_as_app.py new file mode 100644 index 0000000..5caae97 --- /dev/null +++ b/backend/migrations/versions/3fa0c38ea1ac_add_velero_as_app.py @@ -0,0 +1,25 @@ +"""add-velero-as-app + +Revision ID: 3fa0c38ea1ac +Revises: e08df0bef76f +Create Date: 2022-10-13 09:40:44.290319 + +""" +from alembic import op +import sqlalchemy as sa + + +# revision identifiers, used by Alembic. +revision = '3fa0c38ea1ac' +down_revision = 'e08df0bef76f' +branch_labels = None +depends_on = None + + +def upgrade(): + # Add monitoring app + op.execute(f'INSERT IGNORE INTO app (`name`, `slug`) VALUES ("Velero","velero")') + + +def downgrade(): + pass diff --git a/public/assets/velero.svg b/public/assets/velero.svg new file mode 100644 index 0000000..b57d018 --- /dev/null +++ b/public/assets/velero.svg @@ -0,0 +1,21 @@ + + + diff --git a/renovate.json b/renovate.json index b8acdf4..70fbf65 100644 --- a/renovate.json +++ b/renovate.json @@ -1,7 +1,7 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ - "local>stackspin/renovate-config" + "local>stackspin/renovate-config:default" ], "npm": { "enabled": false diff --git a/src/components/UserModal/UserModal.tsx b/src/components/UserModal/UserModal.tsx index 404db4b..29e9738 100644 --- a/src/components/UserModal/UserModal.tsx +++ b/src/components/UserModal/UserModal.tsx @@ -6,6 +6,7 @@ import { Banner, Modal, ConfirmationModal } from 'src/components'; import { Input, Select } from 'src/components/Form'; import { User, UserRole, useUsers } from 'src/services/users'; import { useAuth } from 'src/services/auth'; +import { HIDDEN_APPS } from 'src/modules/dashboard/consts'; import { appAccessList, initialUserForm } from './consts'; import { UserModalProps } from './types'; @@ -221,7 +222,7 @@ export const UserModal = ({ open, onClose, userId, setUserId }: UserModalProps)