Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Apr 22, 2024
  2. Apr 19, 2024
  3. Mar 07, 2024
  4. Apr 28, 2023
  5. Mar 17, 2023
  6. Dec 29, 2022
    • Noah Moss's avatar
      Standardize `ns` formatting in all namespaces (#27435) · 1f809593
      Noah Moss authored
      
      * standardize ns formatting in all src/ namespaces
      
      * small fixes
      
      * test formatting
      
      * enterprise files
      
      * fix whitespace linter error
      
      * fix kondo error
      
      * bin files
      
      * reformat shared files
      
      * fix errors
      
      * fix another error
      
      * mostly fix import to use parenthesis and have it at a new line
      
      * fix wrong spacing
      
      Co-authored-by: default avatarNgoc Khuat <qn.khuat@gmail.com>
      1f809593
  7. May 16, 2022
  8. Apr 18, 2022
  9. Apr 15, 2022
    • Ngoc Khuat's avatar
      BE: Group Manager - Permissions enforcement (#21554) · d3807aff
      Ngoc Khuat authored
      
      * add is_group_manager and hydrate it
      
      * update test title
      
      * fix namespaces and 1 test
      
      * update docstring and make sure the is-group-manager? is converted to boolean in any db
      
      * even more docstring
      
      * fix ns
      
      * Fix a test appeared when merge with master
      
      * add tests and more api enforcement
      
      * appease linter and make sure the test can run in ee
      
      * update by membership id
      
      * one dot
      
      * update docs
      
      * make is_group_manager optional
      
      * hydrate is_group_manager when get single group
      
      * - Split the `check-group-manager` into 2 functions
      - Address Noah's comments
      
      * Update enterprise/backend/test/metabase_enterprise/advanced_permissions/api/group_manager_test.clj
      
      Co-authored-by: default avatarNoah Moss <32746338+noahmoss@users.noreply.github.com>
      
      * change is_group_manager in to bool instead of boolstring
      
      * remove debug code
      
      Co-authored-by: default avatarNoah Moss <32746338+noahmoss@users.noreply.github.com>
      d3807aff
  10. Apr 13, 2022
  11. Apr 10, 2022
  12. Apr 08, 2022
  13. Apr 06, 2022
  14. Apr 01, 2022
    • Ngoc Khuat's avatar
      Grant Subscription permission by default (#21179) · e36304ec
      Ngoc Khuat authored
      * add API to fetch general permisisons graph
      
      * add API to update general permissionns
      
      * change author of migration
      
      * update documents
      
      * misc fixes to applease the CIs
      
      * Add tests for general permission APIs and models
      
      * linting and fix a failed test case
      
      * fix some failed tests
      
      * update docs and change /subscription/ to /general/subscription/ for consistency
      
      * Hook and migration to make sure subscription are created for new groups by default
      
      * add schema migrations tests
      
      * set for the win
      
      * address noah's comments
      
      * Parse number as is in http-client for tests
      
      * address Cam's comments
      
      * revert the last commit about parsing API response in tests
      
      * change fk name
      
      * delete a comment
      
      * Changes:
      - Rename `changes` column to `after` to keep things consistent
      - If a group  has no General Permisions, it'll not be included in the graph
      - Update tests and some docs
      
      * fix failing tests in ee
      
      * add some tests and make docstring completes
      
      * polishing comments
      
      * namespaces
      
      * fix namespaces
      
      * Add general permisison flags to `GET /api/user/current` (#21250)
      
      * return general permisison flags for /api/current
      
      * namespaces
      
      * move permission flags to under
      
      * Enforce Subscription permissions (#21285)
      
      * return general permisison flags for /api/current
      
      * namespaces
      
      * enforce general permissions for subscription and tests
      
      * update check-has-general-permisison to add option to require superuser
      
      * adding arity
      
      * add tests for permissions helper function
      
      * Move advanced permissions check funcs to ee namespace
      
      * unpushed changes
      
      * namespaces
      
      * ignore exception when load namespaces
      
      * change helper fn name
      
      * Enforce Monitoring Permissions (#21321)
      
      * return general permisison flags for /api/current
      
      * namespaces
      
      * enforce general permissions for subscription and tests
      
      * update check-has-general-permisison to add option to require superuser
      
      * adding arity
      
      * enforce permissions to call /api/dataset for internal queries
      
      * enforce monitoring permissions for api/task and api/util
      
      * add tests for OSS
      
      * add tests for db-connection-info endpoint
      
      * change test schema
      
      * update name func and fix ns
      
      * whydon't CI run ?
      
      * Enforce Setting Permissions (#21386)
      
      * return general permisison flags for /api/current
      
      * namespaces
      
      * enforce general permissions for subscription and tests
      
      * update check-has-general-permisison to add option to require superuser
      
      * adding arity
      
      * enforce permissions to call /api/dataset for internal queries
      
      * enforce monitoring permissions for api/task and api/util
      
      * add tests for OSS
      
      * add tests for db-connection-info endpoint
      
      * change test schema
      
      * update name func and fix ns
      
      * whydon't CI run ?
      
      * Enforce Setting permissions
      
      * fix failing test
      
      * make sure we could run slack test twice
      
      * make the mock consistent
      
      * address Noah's comments
      
      * shorter permissions check
      e36304ec
Loading