HUE-8530 [organization] Skeleton of Organization model

Review Request #14292 — Created Sept. 12, 2019 and submitted

romain
hue
master
HUE-8530
hue
jgauthier, johan, ranade, romain, weixia, yingc
commit a9193d42ac576dddded569fb9f9d633637972ff5
Author: Romain <romain.rigaux@gmail.com>
Date:   Tue Jul 16 12:15:18 2019 -0930

    HUE-8530 [organization] Keep migrations like before

:100644 100644 321ba2843a 553fe74d31 M	apps/beeswax/src/beeswax/migrations/0001_initial.py
:100644 000000 33768e0469 0000000000 D	apps/beeswax/src/beeswax/migrations/0002_auto_20190713_1747.py
:100644 100644 b9cff9bf21 9c21bf5fcd M	apps/jobsub/src/jobsub/migrations/0001_initial.py
:100644 000000 e128e3c78c 0000000000 D	apps/jobsub/src/jobsub/migrations/0002_auto_20190713_1747.py
:100644 100644 4decf455a9 5a6b94405c M	apps/oozie/src/oozie/migrations/0001_initial.py
:100644 100644 e2ebf0f151 023187d7a9 R055	apps/pig/src/pig/migrations/0002_document_owner.py	apps/oozie/src/oozie/migrations/0002_initial.py
:100644 100644 fba92c9561 bae8433236 R066	apps/oozie/src/oozie/migrations/0002_auto_20190713_1747.py	apps/oozie/src/oozie/migrations/0003_initial.py
:000000 100644 0000000000 3da153055e A	apps/oozie/src/oozie/migrations/0004_initial.py
:000000 100644 0000000000 2688a433ed A	apps/oozie/src/oozie/migrations/0005_initial.py
:100644 100644 a8b70ce6da a4781c6d95 M	apps/pig/src/pig/migrations/0001_initial.py
:100644 100644 3472381225 7643366ff2 M	apps/search/src/search/migrations/0001_initial.py
:100644 000000 2996b347cf 0000000000 D	apps/search/src/search/migrations/0002_auto_20190713_1747.py
:100644 000000 199ad6eddd 0000000000 D	apps/search/src/search/migrations/0002_auto_20190716_1435.py
:100644 100644 d58264a2c4 4231010c04 M	apps/useradmin/src/useradmin/migrations/0001_initial.py
:100644 000000 5cdad77eb5 0000000000 D	apps/useradmin/src/useradmin/migrations/0002_auto_20190714_0932.py
:000000 100644 0000000000 065be238b6 A	apps/useradmin/src/useradmin/models2.py
:100644 100644 1a17bf32b7 25ace21665 M	desktop/core/src/desktop/migrations/0001_initial.py
:100644 000000 41777ec1bf 0000000000 D	desktop/core/src/desktop/migrations/0002_auto_20190713_1747.py
:000000 100644 0000000000 1598e7e3db A	desktop/core/src/desktop/migrations/0002_initial.py
:000000 100644 0000000000 458e84466f A	desktop/core/src/desktop/migrations/0003_initial.py
:000000 100644 0000000000 4222e3b352 A	desktop/core/src/desktop/migrations/0004_initial.py
:000000 100644 0000000000 59cb110713 A	desktop/core/src/desktop/migrations/0005_initial.py
:000000 100644 0000000000 f2eee33e3b A	desktop/core/src/desktop/migrations/0006_initial.py
:000000 100644 0000000000 a5ddf973f3 A	desktop/core/src/desktop/migrations/0007_initial.py

commit 7bb33aca972e9c377572bd7d570e8bdf7a387247
Author: Romain <romain.rigaux@gmail.com>
Date:   Tue Jul 16 12:01:56 2019 -0930

    HUE-8530 [organization] Move model to models2.py

:100644 100644 b161bc906a a79b874777 M	apps/beeswax/src/beeswax/models.py
:100644 100644 c47efc6e5f 676520e5de M	apps/jobsub/src/jobsub/models.py
:100644 100644 8fb4458124 8c88ad1dde M	apps/oozie/src/oozie/models.py
:100644 100644 8c4c038a98 8bcdef2604 M	apps/pig/src/pig/models.py
:000000 100644 0000000000 199ad6eddd A	apps/search/src/search/migrations/0002_auto_20190716_1435.py
:100644 100644 0b19300a7b 66de79616a M	apps/search/src/search/models.py
:100644 100644 a609e7bc79 d85c2c5d72 M	apps/useradmin/src/useradmin/forms.py
:100644 100644 c2bf7cc6f8 8990de1a49 M	apps/useradmin/src/useradmin/models.py
:100644 100644 a45b16529d bdc896018f M	desktop/core/src/desktop/auth/backend.py
:100644 100644 99e7e3ff8c 613217e463 M	desktop/core/src/desktop/auth/forms.py
:100644 100644 d80e6b077b cb23d9fe7c M	desktop/core/src/desktop/models.py

commit 2dc4d576c3b5ed83293e6db90c2fa8a23ffa9822
Author: Romain <romain.rigaux@gmail.com>
Date:   Sun Jul 14 10:45:13 2019 -0700

    HUE-8530 [organization] Create get_organization(email) utilitly

:100644 100644 e32a04bc78 a45b16529d M	desktop/core/src/desktop/auth/backend.py

commit fa52c75b51a19b48a7d78c0d664fdd24d7a27817
Author: Romain <romain.rigaux@gmail.com>
Date:   Sun Jul 14 10:03:14 2019 -0700

    HUE-8530 [organization] Backward compatibility in backend when no email set

:100644 100644 f6bdc1b762 e32a04bc78 M	desktop/core/src/desktop/auth/backend.py

commit 029765fb890dd3cb412378047df8418e478d3d0c
Author: Romain <romain.rigaux@gmail.com>
Date:   Sun Jul 14 09:45:55 2019 -0700

    HUE-8530 [organization] Add property to get username as email value

:100644 100644 e1a4dd1ea8 c2bf7cc6f8 M	apps/useradmin/src/useradmin/models.py

commit 1274a72e350c2c3c9e58f300b3021d8d0f2b0298
Author: Romain <romain.rigaux@gmail.com>
Date:   Sun Jul 14 09:35:03 2019 -0700

    HUE-8530 [organization] Add OrganizationGroups to OrganizationUser

:000000 100644 0000000000 5cdad77eb5 A	apps/useradmin/src/useradmin/migrations/0002_auto_20190714_0932.py
:100644 100644 a60a90bfd4 e1a4dd1ea8 M	apps/useradmin/src/useradmin/models.py

commit fbf12199ec7805e7dd91f01cc6620cea8a316afe
Author: Romain <romain.rigaux@gmail.com>
Date:   Sun Jul 14 09:29:51 2019 -0700

    HUE-8530 [organization] Adding support to AllowFirstUserBackend

:100644 100644 587ece84bb f6bdc1b762 M	desktop/core/src/desktop/auth/backend.py

commit 67303c917d2ea8bc47ec6af0c526ef276bca4dc5
Author: Romain <romain.rigaux@gmail.com>
Date:   Sat Jul 13 20:14:25 2019 -0700

    HUE-8530 [organization] Adding create user and login forms

:100644 100644 966383d62e 587ece84bb M	desktop/core/src/desktop/auth/backend.py
:100644 100644 e43b25563a 99e7e3ff8c M	desktop/core/src/desktop/auth/forms.py
:100644 100644 986c496a9a 8125a3e6f2 M	desktop/core/src/desktop/auth/views.py
:100644 100644 145f50cb32 c5f8ef97fe M	desktop/core/src/desktop/templates/login.mako

commit 2044ee65b1a82d79625668ac8c3b5f7cfcf8af1e
Author: Romain <romain.rigaux@gmail.com>
Date:   Sat Jul 13 17:48:52 2019 -0700

    HUE-8530 [organization] Add new migrations with tweaks to models

:000000 100644 0000000000 321ba2843a A	apps/beeswax/src/beeswax/migrations/0001_initial.py
:000000 100644 0000000000 33768e0469 A	apps/beeswax/src/beeswax/migrations/0002_auto_20190713_1747.py
:000000 100644 0000000000 b9cff9bf21 A	apps/jobsub/src/jobsub/migrations/0001_initial.py
:000000 100644 0000000000 e128e3c78c A	apps/jobsub/src/jobsub/migrations/0002_auto_20190713_1747.py
:000000 100644 0000000000 4decf455a9 A	apps/oozie/src/oozie/migrations/0001_initial.py
:000000 100644 0000000000 fba92c9561 A	apps/oozie/src/oozie/migrations/0002_auto_20190713_1747.py
:000000 100644 0000000000 a8b70ce6da A	apps/pig/src/pig/migrations/0001_initial.py
:000000 100644 0000000000 e2ebf0f151 A	apps/pig/src/pig/migrations/0002_document_owner.py
:000000 100644 0000000000 3472381225 A	apps/search/src/search/migrations/0001_initial.py
:000000 100644 0000000000 2996b347cf A	apps/search/src/search/migrations/0002_auto_20190713_1747.py
:000000 100644 0000000000 d58264a2c4 A	apps/useradmin/src/useradmin/migrations/0001_initial.py
:100644 100644 8d5543a455 a60a90bfd4 M	apps/useradmin/src/useradmin/models.py
:000000 100644 0000000000 1a17bf32b7 A	desktop/core/src/desktop/migrations/0001_initial.py
:000000 100644 0000000000 41777ec1bf A	desktop/core/src/desktop/migrations/0002_auto_20190713_1747.py

commit 78b94295c62ec3352dc5bc239c58beda186060cd
Author: Romain <romain.rigaux@gmail.com>
Date:   Sat Jul 13 14:18:41 2019 -0700

    HUE-8530 [organization] Remove ALL migrations

:100644 000000 553fe74d31 0000000000 D	apps/beeswax/src/beeswax/migrations/0001_initial.py
:100644 000000 9c21bf5fcd 0000000000 D	apps/jobsub/src/jobsub/migrations/0001_initial.py
:100644 000000 5a6b94405c 0000000000 D	apps/oozie/src/oozie/migrations/0001_initial.py
:100644 000000 023187d7a9 0000000000 D	apps/oozie/src/oozie/migrations/0002_initial.py
:100644 000000 bae8433236 0000000000 D	apps/oozie/src/oozie/migrations/0003_initial.py
:100644 000000 3da153055e 0000000000 D	apps/oozie/src/oozie/migrations/0004_initial.py
:100644 000000 2688a433ed 0000000000 D	apps/oozie/src/oozie/migrations/0005_initial.py
:100644 000000 a4781c6d95 0000000000 D	apps/pig/src/pig/migrations/0001_initial.py
:100644 000000 7643366ff2 0000000000 D	apps/search/src/search/migrations/0001_initial.py
:100644 000000 4231010c04 0000000000 D	apps/useradmin/src/useradmin/migrations/0001_initial.py
:100644 000000 25ace21665 0000000000 D	desktop/core/src/desktop/migrations/0001_initial.py
:100644 000000 1598e7e3db 0000000000 D	desktop/core/src/desktop/migrations/0002_initial.py
:100644 000000 458e84466f 0000000000 D	desktop/core/src/desktop/migrations/0003_initial.py
:100644 000000 eeacb27748 0000000000 D	desktop/core/src/desktop/migrations/0004_initial.py
:100644 000000 59cb110713 0000000000 D	desktop/core/src/desktop/migrations/0005_initial.py
:100644 000000 f2eee33e3b 0000000000 D	desktop/core/src/desktop/migrations/0006_initial.py
:100644 000000 a5ddf973f3 0000000000 D	desktop/core/src/desktop/migrations/0007_initial.py

commit 9f4c07c7c1e4e3a6c21d1c5040077453f4343b9b
Author: Romain <romain.rigaux@gmail.com>
Date:   Sat Jul 13 13:48:41 2019 -0700

    HUE-8530 [organization] Consolidate models together

:100644 100644 02714e469d 8d5543a455 M	apps/useradmin/src/useradmin/models.py

commit bedb6b4a24721f1e626d8530f79a7802844eac09
Author: Romain <romain.rigaux@gmail.com>
Date:   Sat Jul 13 08:19:58 2019 -0700

    HUE-8530 [organization] Tweak older migration to pass make_migration command

:100644 100644 d249e3cee7 a609e7bc79 M	apps/useradmin/src/useradmin/forms.py
:100644 100644 4222e3b352 eeacb27748 M	desktop/core/src/desktop/migrations/0004_initial.py

commit cfa83fc3f0a459f0a9d325c6b2b4f2a48e57e605
Author: Romain <romain.rigaux@gmail.com>
Date:   Sat Jul 13 08:01:47 2019 -0700

    HUE-8530 [organization] Update references to User and Group classes

:100644 100644 a611e857c7 b161bc906a M	apps/beeswax/src/beeswax/models.py
:100644 100644 772cf87ded c47efc6e5f M	apps/jobsub/src/jobsub/models.py
:100644 100644 1361ae5b5f 8fb4458124 M	apps/oozie/src/oozie/models.py
:100644 100644 e6e39a3ced 8c4c038a98 M	apps/pig/src/pig/models.py
:100644 100644 1d7fa49b41 0b19300a7b M	apps/search/src/search/models.py
:100644 100644 29de8dacb8 d249e3cee7 M	apps/useradmin/src/useradmin/forms.py
:100644 100644 818bcdf717 02714e469d M	apps/useradmin/src/useradmin/models.py
:100644 100644 acecea97ff d80e6b077b M	desktop/core/src/desktop/models.py

commit 73a1c0d095e2d7990f5799de6565e7ef54682caa
Author: Romain <romain.rigaux@gmail.com>
Date:   Sat Jul 13 07:21:58 2019 -0700

    HUE-8530 [organization] Add switch to organizational groups and users

:100644 100644 b3cd5c6a75 818bcdf717 M	apps/useradmin/src/useradmin/models.py
:100644 100644 1bfe2087ab acecea97ff M	desktop/core/src/desktop/models.py
:100644 100644 bf36d9e282 b7fec44541 M	desktop/core/src/desktop/settings.py

commit 868f90aac2b29f83a088a2c85bbe4de498b01195
Author: Romain <romain.rigaux@gmail.com>
Date:   Fri Jul 12 14:15:37 2019 -0700

    HUE-8530 [organization] Skeleton of Organization model

:100644 100644 375b0cea01 2c2455a640 M	apps/impala/src/impala/dbms.py
:100644 100644 e6ec19e984 b3cd5c6a75 M	apps/useradmin/src/useradmin/models.py
:100644 100644 de9e62adac 00b6e68787 M	apps/useradmin/src/useradmin/views.py
:100644 100644 a510740ebd 7f456dfab1 M	desktop/conf.dist/hue.ini
:100644 100644 94ff9d77cf 9da45a8b01 M	desktop/conf/pseudo-distributed.ini.tmpl
:100644 100644 8222cdfa5e c7307c7de4 M	desktop/core/src/desktop/conf.py

part 1/3
no change of behavior, all off
manual

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

Status: Closed (submitted)

Loading...