HUE-8758 [connectors] Configuration via connectors part 2/5

Review Request #14728 — Created Jan. 30, 2020 and submitted

romain
hue
master
HUE-8758
hue
johan, ranade, romain, weixia, yingc
commit 795a8a583b2d3ea4817fd4d0026740fe6d535eec
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Jan 13 13:57:12 2020 -0800

    HUE-8758 [connector] Check admin permission for connector updates

:100644 100644 f6063b9ddc 1e2a81cc2a M	desktop/core/src/desktop/lib/connectors/api.py
:100644 100644 eb7233a6af e1c4578c4b M	desktop/core/src/desktop/lib/connectors/tests.py
:100644 100644 712e08263f 5cb2871d09 M	desktop/core/src/desktop/middleware.py

commit e8dff4eb1589d75abcae73cb9607d9df0c4a94ef
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Jan 13 13:27:55 2020 -0800

    HUE-8530 [organization] Remove more dictionary attributes in User constructor

:100644 100644 b948802eb9 c1579b6635 M	apps/useradmin/src/useradmin/models2.py
:100644 100644 65afb81e0b 0d7b54d547 M	desktop/core/src/desktop/lib/django_test_util.py

commit c4638b8086b01a6c04bf69b984ef684066d8c65d
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Jan 13 12:49:11 2020 -0800

    HUE-8530 [organization] Remove need of orm_user_lookup util

:100644 100644 0ff9d724b1 0ec1b84edf M	apps/useradmin/src/useradmin/api.py
:100644 100644 ff72c37f20 81ed30a8da M	apps/useradmin/src/useradmin/forms.py
:100644 100644 94199a77a8 5718ddcd99 M	apps/useradmin/src/useradmin/models.py
:100644 100644 e8da30089a b948802eb9 M	apps/useradmin/src/useradmin/models2.py
:100644 100644 9ad3938dfa 688ff059a1 M	apps/useradmin/src/useradmin/views.py
:100644 100644 0a4790837c 81951b7852 M	desktop/core/src/desktop/auth/decorators_tests.py
:100644 100644 6aa97e4491 eb7233a6af M	desktop/core/src/desktop/lib/connectors/tests.py
:100644 100644 ef2b4f4e6f 65afb81e0b M	desktop/core/src/desktop/lib/django_test_util.py
:100644 100644 c020bf6244 60d503c645 M	desktop/core/src/desktop/lib/fs/proxyfs.py
:100644 100644 911f308c48 06fb43c2b3 M	desktop/libs/notebook/src/notebook/tasks.py

commit 8470a81982a153c0ded79a684988ab7e4d134532
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Jan 13 12:16:29 2020 -0800

    HUE-8888 [core] Adding a is_admin auth decorator
    
    With a test suite

:000000 100644 0000000000 d50adc78e1 A	desktop/core/src/desktop/auth/decorators.py
:000000 100644 0000000000 0a4790837c A	desktop/core/src/desktop/auth/decorators_tests.py
:100644 100644 6e53a894fd f6063b9ddc M	desktop/core/src/desktop/lib/connectors/api.py

commit 5c383e448eb4b26cef35b1421021f14f20d45fe8
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Jan 13 11:23:22 2020 -0800

    HUE-8758 [useradmin] Revert HuePermission creation to be simpler

:100644 100644 853a1b824c 94199a77a8 M	apps/useradmin/src/useradmin/models.py

commit 46e585e1ef450ec53fbe0094be568cc867b2af32
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Jan 13 10:59:16 2020 -0800

    HUE-8530 [organization] Refactoring to move out inter module dependencies

:100644 100644 69ccd73e97 853a1b824c M	apps/useradmin/src/useradmin/models.py
:100644 100644 540e68b3ec e8da30089a M	apps/useradmin/src/useradmin/models2.py
:000000 100644 0000000000 1189d39900 A	apps/useradmin/src/useradmin/organization.py
:100644 100644 ccdd48341f af42975ff1 M	desktop/core/src/desktop/lib/connectors/models.py

commit 5cb1c398c98b5e8e26bbfd71950a4fdcdd31efe8
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Jan 13 10:46:08 2020 -0800

    HUE-8758 [connector] Refactor to switch to Hue permissions

:100644 100644 5b24026755 69ccd73e97 M	apps/useradmin/src/useradmin/models.py
:100644 100644 b1534d654e 6e53a894fd M	desktop/core/src/desktop/lib/connectors/api.py
:100644 100644 64f3cf23b1 ccdd48341f M	desktop/core/src/desktop/lib/connectors/models.py

commit efb56d893057854621440f34ca1773db9d4f6544
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Jan 13 09:41:46 2020 -0800

    HUE-8530 [connectors] Unify the API for listing types and instances

:100644 100644 0dda90325a b1534d654e M	desktop/core/src/desktop/lib/connectors/api.py
:100644 100644 ede37ff27d 64f3cf23b1 M	desktop/core/src/desktop/lib/connectors/models.py
:100644 100644 b6347e463c 7d75984b06 M	desktop/core/src/desktop/lib/connectors/types.py
:100644 100644 a93536281d e2b3c85c01 M	desktop/core/src/desktop/lib/connectors/urls.py
:100644 100644 54004bccf0 bb41f9576b M	desktop/core/src/desktop/templates/connectors/connectors.mako

commit 5b2b76127521c02d2ddfe454ec89e05c49191190
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Jan 13 06:11:58 2020 -0800

    HUE-8530 [organization] Series of typo fixes

:100644 100644 28ee1cc787 5b24026755 M	apps/useradmin/src/useradmin/models.py
:100644 100644 dd9359af1a 540e68b3ec M	apps/useradmin/src/useradmin/models2.py
:100644 100644 0e84ac5b7c ede37ff27d M	desktop/core/src/desktop/lib/connectors/models.py

commit 43a838509882befa13015a1e722ec249eff178c7
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Jan 13 06:02:05 2020 -0800

    HUE-8530 [connectors] DB migrations in organization mode

:100644 100644 344c4e3785 0e84ac5b7c M	desktop/core/src/desktop/lib/connectors/models.py
:000000 100644 0000000000 2ea86f02ee A	desktop/core/src/desktop/org_migrations/0003_auto_20200113_0601.py

commit 1402b36604a7275c797e27e3eb59df6e4ef463e9
Author: Romain <romain.rigaux@gmail.com>
Date:   Mon Jan 13 05:29:48 2020 -0800

    HUE-8530 [connector] Persist connectors setting in the database

:100644 100644 172b1c5093 344c4e3785 M	desktop/core/src/desktop/lib/connectors/models.py

commit 00b6ea89b065d0ec4c813f05eea9dd8cf82e7cc7
Author: Romain <romain.rigaux@gmail.com>
Date:   Sun Jan 12 11:40:14 2020 -0800

    HUE-8888 [core] Light restyling of the appmanager

:100644 100644 a67ace069d e1e21b17d0 M	desktop/core/src/desktop/appmanager.py

commit 68e1abc62c16c78fdc5f100626a042d90b47bd14
Author: Romain <romain.rigaux@gmail.com>
Date:   Sun Jan 12 10:05:50 2020 -0800

    HUE-8530 [organization] Auto add missing organization to Group and Permission

:100644 100644 54d6b15528 28ee1cc787 M	apps/useradmin/src/useradmin/models.py
:100644 100644 c05aeb1cc1 dd9359af1a M	apps/useradmin/src/useradmin/models2.py

commit a1dec9fba80248a8772cafb94fc0b0c74eb0f4b8
Author: Romain <romain.rigaux@gmail.com>
Date:   Sun Jan 12 06:56:14 2020 -0800

    HUE-8530 [connector] Initial DB migrations
    
    Updated:
          vim desktop/core/src/desktop/migrations/0001_initial.py
          -->
          bases=(models.Model, django_prometheus.models.ExportModelOperationsMixin('Document2')),
    
        Skipped for now:
        ./build/env/bin/hue makemigrations jobsub
        ./build/env/bin/hue makemigrations oozie
        ./build/env/bin/hue makemigrations pig
        ./build/env/bin/hue makemigrations search

:100644 100644 d70b4dcc59 54d6b15528 M	apps/useradmin/src/useradmin/models.py
:100644 100644 c83be43402 c05aeb1cc1 M	apps/useradmin/src/useradmin/models2.py
:100644 100644 effd6b90a5 c20e9457cc M	apps/useradmin/src/useradmin/org_migrations/0001_initial.py
:100644 100644 af8683a2a8 4cde32737b M	desktop/core/src/desktop/org_migrations/0001_initial.py
:000000 100644 0000000000 8df0420731 A	desktop/core/src/desktop/org_migrations/0002_auto_20200112_0653.py

commit 7cd3b54a68429cf5fc25eb6ce0aaafc7e86dcc4c
Author: Romain <romain.rigaux@gmail.com>
Date:   Sun Jan 12 04:25:06 2020 -0800

    HUE-8530 [organization] Initial permission support

:100644 100644 2458562e7d d70b4dcc59 M	apps/useradmin/src/useradmin/models.py
:100644 100644 c827b37b75 c83be43402 M	apps/useradmin/src/useradmin/models2.py

flag off

johan
  1. Ship It!
  2. 
      
romain
Review request changed

Status: Closed (submitted)

Loading...