Juan Ignacio Sánchez Lara
4405ecb466
Multiple users test
2015-09-07 11:43:57 +02:00
Juan Ignacio Sánchez Lara
59d144d91d
Batch add/remove users support
2015-09-07 10:35:04 +02:00
Juan Ignacio Sánchez Lara
428a2391ad
Refactor Member -> User
2015-09-07 09:56:59 +02:00
Juan Ignacio Sánchez Lara
a885f5328e
Fix conf tests (json values)
2015-08-20 10:45:24 +02:00
Juan Ignacio Sánchez Lara
a75a337296
_CDB_Conf_Cache SD-based
2015-08-18 10:44:10 +02:00
Juan Ignacio Sánchez Lara
d6410d91bd
Cache http client
2015-08-18 08:24:30 +02:00
Juan Ignacio Sánchez Lara
e11f4ef169
Group name validation delegated to role creation
2015-08-14 15:40:36 +02:00
Juan Ignacio Sánchez Lara
db89bf1a94
Grant select on configuration table to org members
2015-08-14 15:28:19 +02:00
Juan Ignacio Sánchez Lara
d4bcb97f9b
CDB_CONF and create and drop group api calls
2015-08-14 14:00:58 +02:00
Juan Ignacio Sánchez Lara
7262d34b06
IMMUTABLE-STABLE-VOLATILE specification
2015-08-14 14:00:58 +02:00
Juan Ignacio Sánchez Lara
3ee4978240
Roles simplification, without md5 and prepending database name
2015-08-14 14:00:57 +02:00
Juan Ignacio Sánchez Lara
2ece2979a6
Drop cartodb schema before dropping publicuser
2015-08-14 14:00:57 +02:00
Juan Ignacio Sánchez Lara
401d3e9066
publicuser back
2015-08-14 14:00:57 +02:00
Juan Ignacio Sánchez Lara
79e1926766
Group management done by organization admin
2015-08-14 14:00:57 +02:00
Juan Ignacio Sánchez Lara
e2dd1e014e
test_valid_group_names and test_not_valid_group_names
2015-08-14 14:00:57 +02:00
Juan Ignacio Sánchez Lara
1915e28a0f
Cleaner debug output
2015-08-14 14:00:57 +02:00
Juan Ignacio Sánchez Lara
bd46796bb7
Fix spacing
2015-08-14 14:00:57 +02:00
Juan Ignacio Sánchez Lara
898d3c14fd
test_group_management_functions_cant_be_used_by_normal_members and warning -> error processing
2015-08-14 14:00:57 +02:00
Juan Ignacio Sánchez Lara
c29733eb87
publicuser uncommenting
2015-08-14 14:00:26 +02:00
Juan Ignacio Sánchez Lara
52f73b1a01
CDB_Group_Table_GrantReadWrite
2015-08-14 14:00:26 +02:00
Juan Ignacio Sánchez Lara
e04f0caa6c
Permission granting
2015-08-14 14:00:25 +02:00
Juan Ignacio Sánchez Lara
5afdd77dcf
Rename group
2015-08-14 14:00:25 +02:00
Juan Ignacio Sánchez Lara
42e72ac9d5
cartodb.CDB_Group_CreateGroup cartodb.CDB_Group_DropGroup
2015-08-14 13:58:10 +02:00
Raul Ochoa
e959bba335
Validates it's enought to grant publicuser to user.
...
Reference to PR where it will be actually fixed for now.
2015-08-13 18:53:41 +02:00
Raul Ochoa
14213c5d6a
Test scenario to show how public tables can be accessed by other roles
...
This will require changes in cartodb/cartodb rails app because user/role
creation happens over there. So it's not possible to fix all the problems
within the extension right now.
2015-08-12 10:10:21 +02:00
javi
400248cd5d
remove connection permissions to public user
2015-07-27 11:20:55 +02:00
javi
92b5d1f8f4
creating in setup
2015-07-27 11:15:14 +02:00
javi
68fdd9ce33
just add login permissions to public user
2015-07-27 11:07:46 +02:00
javi
53e6b38c32
enabling user again (no sense)
2015-07-27 11:03:21 +02:00
javi
c71faf21e2
do not create publicuser since a previous tests is doing it
2015-07-27 10:57:38 +02:00
javi
12260b9fc3
test cleanup
2015-07-27 10:54:43 +02:00
javi
1b3db28a74
added tests for organization
2015-07-27 10:51:20 +02:00
Raul Ochoa
2637742c2e
CDB-3743 Makes CDB_QueryTables to return only results for schemas associated to Relation-Names
2014-08-01 18:06:06 +02:00
javi
77182321ff
added delete permission with write permission for organization
2014-06-26 15:50:56 +02:00
Raul Ochoa
84174c4f71
CDB-3094 no hardcoded coloring output by creating a new log_warning function
2014-06-25 12:43:46 +02:00
Raul Ochoa
8624dd1a00
CDB-3094 Improves bash test runner by displaying failing tests after execution
2014-06-25 12:37:09 +02:00
Raul Ochoa
12e90ef6a4
CDB-3094 Adds cdb_org_member role group and functions to handle access to tables through it
2014-06-24 19:56:17 +02:00
Raul Ochoa
5e5471c474
CDB-3094 changes signature to allow specifying the schema because it does not have to be the role name.
...
- fixes tests to match new signature.
- does not revoke access to the schema when revoking access to a table. TODO
2014-06-19 20:16:10 +02:00
Sandro Santilli
d61de906d5
Use "cdb_test" prefix for test member names
...
User names are global to a cluster, better try to reduce likelyhood
of clashes
2014-06-18 11:57:12 +02:00
Sandro Santilli
36dca36927
Do not assume "postgres" user exists
2014-06-18 11:49:56 +02:00
Raul Ochoa
fb68f225d5
CDB-3094 no hardcoded database. it also creates the database between tests and the cartodb schema to install the functions
2014-06-16 17:13:13 +02:00
Raul Ochoa
9a55b03d6f
CDB-3094 initial function to share tables/schemas between users within the same database
2014-06-16 16:10:53 +02:00