aboutsummaryrefslogtreecommitdiffstats
path: root/keystone-moon
AgeCommit message (Collapse)AuthorFilesLines
2015-11-20During authorization, the subject ID was sometime the Keystone ID which ↵asteroide1-18/+21
leads to a false authorization error. Change-Id: If2e0d2aa6cd1e759be3de500c91d72cbdbaa846e
2015-11-09Add an empty admin policy.asteroide6-0/+80
Change-Id: Iafd5faef37506416b736dba374e1839b5d380faa
2015-11-03Improve some exception logs mainly for debugging purposes.asteroide1-8/+8
Change-Id: Ie6b2ba1bfdc5e8729605e935481669b90990b2d8
2015-11-02Add an empty policy.asteroide6-0/+46
Change-Id: I8431b348e1df18c586aa5f1edf72803b152b6128
2015-10-14Merge "When a tenant is not managed by Moon, the result of the authz ↵Ruan HE1-1/+3
function is always True."
2015-10-14When a tenant is not managed by Moon, the result of the authz function is ↵asteroide1-1/+3
always True. Change-Id: Ic63d93371fb1661078367c47ce9ccd0c99537070
2015-10-14Change the way the tenant dict is updated with Keystone information on the ↵asteroide1-1/+3
add_tenant_dict. Change-Id: Ifa164a51b0195f546b97267ffca677bbf3a18eca
2015-10-12Merge "Check the content of tenant_dict['intra_admin_extension_id'] to allow ↵asteroide1-2/+3
or not the synchronisation process."
2015-10-12Check the content of tenant_dict['intra_admin_extension_id'] to allow or not ↵asteroide1-2/+3
the synchronisation process. Change-Id: Iba22a1ae8444f2367272ef68b8310b5bff7c2b0c
2015-10-12correct rbac policyWuKong1-1/+1
Change-Id: Id49873abe4abc7622cbf68704bf73ae998f54149 Signed-off-by: WuKong <rebirthmonkey@gmail.com>
2015-10-12Fix a bug when sending a new log in moon_api.asteroide2-7/+13
Change-Id: I8a457018bd2e03f2fcaed3143d2c4c2df7bcfbf7
2015-10-12create scenario testWuKong15-4/+268
Change-Id: Id392d900583a31fb53a9da5bcb0c47746f34491a Signed-off-by: WuKong <rebirthmonkey@gmail.com>
2015-09-26Review the KeystoneMiddleware code, fix some bugs in the authz functions.asteroide8-94/+51
Change-Id: I9d9966c061fc71cd8ef5ce88217dcdfa63e0722f
2015-09-25Merge "Delete unexistant objects."Ruan HE1-5/+1
2015-09-25Delete unexistant objects.asteroide1-5/+1
Change-Id: Ib4fd2554e602df5d4170760972fd37516b524e04
2015-09-25Fix a bug in aggregation_algorithm functions.asteroide1-2/+2
Change-Id: Id480972ce81173c720e5e2461ad5fd472aecc90e
2015-09-24Update Keystone code from repository.asteroide184-1914/+17646
Change-Id: Ib3d0a06b10902fcc6d520f58e85aa617bc326d00
2015-09-24Create user in Keystone database when needed.asteroide2-11/+55
Change-Id: Ie898bd663e572785bd98b4d9143caa6a9bc5cead
2015-09-23Automatically create tenant in Keystone if tenant name doesn't exist in ↵asteroide1-2/+28
Keystone. Change-Id: I773c2508092b3aeb921a9f7a4133331ca04c1858
2015-09-22Fix all rule commands.asteroide1-2/+2
Change-Id: Ib0f30f2a9e26b4a9ac22af94c2b526a4e4f79e2e
2015-09-22Delete all references to the AggregationAlgorithms SQL table.asteroide3-30/+14
Change-Id: Ia508870842d17e6b8e2d8f34bd362cf3377f1594
2015-09-21Put the ID of aggregation algorithm for a particular IntraExtension in the ↵asteroide10-123/+118
intraextensions table and generate a static UUID for each aggregation algorithms in the memory backend. Change-Id: Ic56dc05ca3d7e099e1d529c5bb88b5d93de88ae1
2015-09-18Fix a bug when adding an assignment.asteroide1-1/+1
Change-Id: Ic3055c39ce0202808c8f7ca0d1d4dfac71145af0
2015-09-17In controllers, user_id is the Keystone ID and that don't match with the id ↵asteroide2-30/+18
in the core.enforce. Change-Id: Ib7dc8452b16da3f82ff48b74bd29cf04f3390834
2015-09-16Fix a bug in object_assignments SQL table.asteroide1-1/+1
Change-Id: Iad6a13fac0081ad077a99e2a07514ee6e96329ce
2015-09-15The genre attribute may be not set. So automatically setting it, by looking ↵asteroide1-0/+5
to the name of the model. Change-Id: I744ee376e6b235bfb3a7ac75582e8d9426746d35
2015-09-11Debug all the tenant commands in moonclient and fix some bugs in opnfv-moon ↵asteroide4-73/+59
related to tenant. Change-Id: I1d21df2a55545582a98c17181255ab53cab5689b
2015-09-11Merge "Change the deletion behaviour of scope and assignment when deleting ↵Ruan HE2-31/+78
an intra-extension because of foreign key contraints."
2015-09-11Change the deletion behaviour of scope and assignment when deleting an ↵asteroide2-31/+78
intra-extension because of foreign key contraints. Change-Id: I8451eb583052327e97ff06097e5f6e6baaa7619b
2015-09-10Add a forgotten foreing key in Rules table.asteroide1-0/+1
Change-Id: Iab99fe52206abcf85fcbe56f2cc83d63eef9091a
2015-09-10Merge "get_aggregation_algorithm_dict now return an empty dictionnary if ↵Ruan HE1-1/+4
algorithm is not found."
2015-09-10get_aggregation_algorithm_dict now return an empty dictionnary if algorithm ↵asteroide1-1/+4
is not found. Change-Id: I53d821ea88958e53ba72467f44251fabcc1ae55e
2015-09-08Add_tenant can now be used even if the tenant ID is unknown.asteroide1-1/+3
Change-Id: I623483c99a349bd1ccc3b5b88c3973ce28dfd633
2015-09-04End of Keystone code update to branch Master and fix some bugs.asteroide12-113/+204
Change-Id: Iad3c4f0e6fc78532b92761aa46f2d8508f46a7da
2015-09-01Update Keystone code from official Github repository with branch Master on ↵asteroide356-10681/+19085
09/01/2015. Change-Id: I0ff6099e6e2580f87f502002a998bbfe12673498
2015-08-31Fix all tests.asteroide13-1692/+927
Change-Id: I62fcce5942dee7ed5755fe20d012e4a0d5c535c9
2015-08-10review codeWuKong5-252/+246
Change-Id: Ie3be0aa22331803a9e2ef8837f8637bb762ae720 Signed-off-by: WuKong <rebirthmonkey@gmail.com>
2015-08-07review codeWuKong6-517/+528
Change-Id: Idf3aedc0355fbe714a4a4808fcd2e4749da53195 Signed-off-by: WuKong <rebirthmonkey@gmail.com>
2015-07-31Play unit tests and modify code accordingly. (some tests are still not OK).asteroide17-3396/+4323
Change-Id: I021081710411be12ffbbb0a3c8192626dbf9f8ce
2015-07-27Merge "Raise AuthzException in IntraExtensionAuthzManager whenn needed ↵Ruan HE1-1/+77
(untested)."
2015-07-27Merge "Add, del, set subjects in both IntraAuthzExtension, ↵Ruan HE1-12/+58
IntraAdminExtension. (untested)"
2015-07-27Merge "Add more log in authz function. (untested)"Ruan HE1-4/+5
2015-07-27Merge "Add deletion of secondary keys in core.py and add a forgotten API ↵Ruan HE2-3/+39
function in driver (del_aggregation_algorithm) (untested)"
2015-07-27Raise AuthzException in IntraExtensionAuthzManager whenn needed (untested).asteroide1-1/+77
Change-Id: Ibf7771c97804a632456a4f0807b909ce99365c1a
2015-07-27Add, del, set subjects in both IntraAuthzExtension, IntraAdminExtension. ↵asteroide1-12/+58
(untested) Change-Id: Ifca8f915fd50e3557478d9e3dcc1cd96dc22e277
2015-07-27Add more log in authz function. (untested)asteroide1-4/+5
Change-Id: Iae7323a1865bc61f72107e9e8521c6d1a237ccb6
2015-07-27Add deletion of secondary keys in core.py and add a forgotten API function ↵asteroide2-3/+39
in driver (del_aggregation_algorithm) (untested) Change-Id: I442d874846d375d7266df1567f40110e32ef0c57
2015-07-27Add initialization for ADMIN_ID and ROOT_EXTENSION_ID in core.py.asteroide3-76/+134
Change-Id: I25e69dbc19e7c4d896c0a0430805198a76f06957
2015-07-24review core tenant testWuKong1-98/+55
Change-Id: Ic18de1a039fc57451b12220b60cb913ce43051a6 Signed-off-by: WuKong <rebirthmonkey@gmail.com>
2015-07-24add_tenant function in controllers.py nox check if tenant name exist in Keystoneasteroide10-165/+293
fix some bugs in enforce function and SQL functions Change-Id: Ie760aad146d249fa6d98edbbb64dae732724e756