Skip to content

Conversation

@tcnichol
Copy link
Contributor

I added adminMode as a boolean in Authwrapper itself, and now the dataset (and files inside the dataset) update their menus as I enable superadmin mode and they go away as soon as I disable it.

This is draft because I want to do more testing to make sure that every place where permissions should update work correctly.

@tcnichol tcnichol requested a review from longshuicy as a code owner February 29, 2024 20:56
@tcnichol tcnichol marked this pull request as draft February 29, 2024 20:56
@tcnichol tcnichol requested review from ddey2 and lmarini February 29, 2024 20:56
@tcnichol tcnichol marked this pull request as ready for review March 3, 2024 19:21
@lmarini lmarini changed the base branch from main to release/v2.0.0-beta2 March 4, 2024 16:47
…ome-priviledge-doesnt-automatically-get-update
Copy link
Member

@longshuicy longshuicy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works well

@lmarini lmarini merged commit c6d745e into release/v2.0.0-beta2 Mar 4, 2024
@lmarini lmarini deleted the 940-when-enable-superadmin-some-priviledge-doesnt-automatically-get-update branch March 4, 2024 19:21
longshuicy pushed a commit that referenced this pull request Mar 22, 2024
longshuicy added a commit that referenced this pull request Mar 22, 2024
* clear more breakpoints and move role to the Details

* bump version up

* add version to public layout too

* update changelog

* package json version

* Pre commit autoformat (#846)

* Removed unused imports using autoflake.

* Ordered imports using isort.

* Reformatted using black.

* Setting up pre-commits.

* Ran pre-commit an all files.

* Working on creating openapi.json without running backend to be used with codegen.

* Fixed `MUI: The Tabs component doesn't accept a Fragment as a child.`

* Fixed runtime error due to replacing `== None` with 'is None'.

* Fixed runtime error due to replacing `== None` with 'is None'.

* Automatically generate openapi json file using pre-commit hook.

* Added codegen precommit hook.

* Setting up prettier and eslint.

* First run of prettier.

* Runnin eslint and prettier as hooks.

* Skip codegen directories when running eslint and prettier.

* Flake8 E711 exception. Required for Beanie query to work.

* Fixed search_users_prefix codegen stub.

* Fixed beanie query for get_dataset_folders.

* Ignore Flake8 E711 since beanie query do not support `is None`.

* bump keycloak chart version to 13 so it's using keycloak appversion 20

* update chart lock

* add login to github repo

* push set to true

* revert login to github repo

* version updates

* revert

* no v in the appVersion

* change to make keycloak point to external url (#942)

* 929 message on empty page if there is no datasets (#930)

* basic message, need to improve

* adding a login or register button

* removing buttons

* links to login or register if no public datasets

* changing text

* srink the version and align to left (#950)

* moved key to grid instead of card

* adding admin mode to the authwrapper (#951)

* Fixed dataset parameters. They weren't being included in rabbtimq message. (#957)

* fix extractor bugs and deployment script bug (#958)

* Use --host 0.0.0.0 when running uvicorn to make backend listen on host IP.

* fix missing add metadata button on dataset
pycharm was complaining about missing publicView boolean in DisplayMetadata

* Drag and Drop One or More Files (#935)

* initial commit, add dependency, new class
will eventually combine all file uploads

* working on adding upload drag and drop

* page does not load

* drag and drop does not actually work

* addign fileinputdrop as independent component

* add fileupload drop inside uploadfiledraganddrop

* drag and drop does not add files
select selects files but misses the first one

* drag and drop works now, is overwritten if file selected using button, need to fix

* uploads but overwrites, need to fix

* works for the select, need to fix other

* should work for drop now too

* was not an array

* delete icon works
removing console logs

* drag and drop and select means other upload methods no longer needed

* removing text in drag and drop

* added to styles but not using because it does not work

* some changes, not sure how to do rest

* fix button

* return to dataset

* remove unnecessary imports

---------

Co-authored-by: Chen Wang <[email protected]>

* precommits

---------

Co-authored-by: Luigi Marini <[email protected]>
Co-authored-by: Todd Nicholson <[email protected]>
Co-authored-by: toddn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When enable superAdmin some priviledge doesn't automatically get update

4 participants