1. 05 3月, 2020 3 次提交
  2. 04 3月, 2020 3 次提交
    • V
      fix: share column type matching between model and result set (#9161) · 7a91498c
      Ville Brofeldt 提交于
      * Share column type matching between model and result set
      
      * Address comments
      7a91498c
    • D
      [security] Fix, let admin's be able to reset user passwords on AUTH_DB (#9232) · d55240a5
      Daniel Vaz Gaspar 提交于
      * [security] Fix, let admin's be able to reset user passwords on AUTH_DB
      
      * [security] Fix, use constants
      d55240a5
    • B
      Make schema name for the CTA queries and limit configurable (#8867) · 4e1fa950
      Bogdan 提交于
      * Make schema name configurable
      
      Fixing unit tests
      
      Fix table quoting
      
      Mypy
      
      Split tests out for sqlite
      
      Grant more permissions for mysql user
      
      Postgres doesn't support if not exists
      
      More logging
      
      Commit for table creation
      
      Priviliges for postgres
      
      Update tests
      
      Resolve comments
      
      Lint
      
      No limits for the CTA queries if configures
      
      * CTA -> CTAS and dict -> {}
      
      * Move database creation to the .travis file
      
      * Black
      
      * Move tweaks to travis db setup
      
      * Remove left over version
      
      * Address comments
      
      * Quote table names in the CTAS queries
      
      * Pass tmp_schema_name for the query execution
      
      * Rebase alembic migration
      
      * Switch to python3 mypy
      
      * SQLLAB_CTA_SCHEMA_NAME_FUNC -> SQLLAB_CTAS_SCHEMA_NAME_FUNC
      
      * Black
      4e1fa950
  3. 03 3月, 2020 5 次提交
  4. 28 2月, 2020 1 次提交
  5. 27 2月, 2020 1 次提交
  6. 26 2月, 2020 6 次提交
  7. 25 2月, 2020 7 次提交
  8. 24 2月, 2020 3 次提交
  9. 23 2月, 2020 1 次提交
  10. 22 2月, 2020 1 次提交
    • A
      [SIP-29] Add support for row-level security (#8699) · dee16de0
      altef 提交于
      * Support and apply filters.
      
      * Added the UI for row level security, and moved it all under SQLA in order to access the Table model more easily.
      
      * Added a row level security filter documentation entry.
      
      * Accidentally added two new lines to this file.
      
      * Blacked and iSorted, hopefully.  Also, sometimes g.user may not be set.
      
      * Another isort, and handling g not having a user attribute another way.
      
      * Let's try this again #CI tests.
      
      * Adjusted import order for isort; I was sure I'd already done this..
      
      * Row level filters should be wrapped in parentheses in case one contains an OR.
      
      * Oops, did not think that would change Black's formatting.
      
      * Changes as per @mistercrunch.
      
      * RLS filters are now many-to-many with Roles.
      
      * Updated documentation to reflect RLS filters supporting multiple rows.
      
      * Let's see what happens when I set it to the previous revision ID
      
      * Updated from upstream.
      
      * There was a pylint error.
      
      * Added RLS ids to the cache keys; modified documentation; added template processing to RLS filters.
      
      * A new migration was merged in.
      
      * Removed RLS cache key from query_object.
      
      * RLS added to the cache_key from query_context.
      
      * Changes as per @etr2460.
      
      * Updating entry for RLS pull request.
      
      * Another migration to skip.
      
      * Changes as per @serenajiang.
      
      * Blacked.
      
      * Blacked and added some attributes to check for.
      
      * Changed to a manual query as per @mistercrunch.
      
      * Blacked.
      
      * Another migration in the meantime.
      
      * Black wanted some whitespace changes.
      
      * AttributeError: 'AnonymousUserMixin' object has no attribute 'id'.
      
      * Oops, did hasattr backwards.
      
      * Changes as per @mistercrunch.
      
      * Doesn't look like text us required here anymore.
      
      * Changes as per @dpgaspar
      
      * Two RLS tests.
      
      * Row level security is now disabled by default via the feature flag ENABLE_ROW_LEVEL_SECURITY.
      
      * New head to revise.
      
      * Changed the comment.
      dee16de0
  11. 21 2月, 2020 3 次提交
  12. 20 2月, 2020 5 次提交
  13. 19 2月, 2020 1 次提交