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
219d876973
Merge pull request #110 from CartoDB/issue-108
...
Fixes CDB_UserDataSize failing due `ERROR: relation "*" does not exist.`
2015-08-13 19:01:05 +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
4e31d3a37e
Fixes CDB_UserDataSize failing due ERROR: relation "*" does not exist.
...
Adds new _CDB_total_relation_size function that handles nonexistent
tables and does fallback to size=0.
That function could be used to cache total relation size or query another
table view with a cached total relation size.
Fixes #108
2015-08-13 13:23:35 +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
513488da0e
change random value for quota test again
2015-07-28 09:05:03 +02:00
javi
189a73ce4d
fixed tests
2015-07-27 16:12:15 +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
javi
5d6c2111bf
updates tests
2015-07-27 10:37:07 +02:00
javi
e05613d5c4
added tests for usertables to check private tables are not returned
2015-07-27 10:25:44 +02:00
Paul Ramsey
011a007f04
Return test results in deterministic order ( closes #96 )
2015-07-07 06:13:02 -07:00
Paul Ramsey
734561de4c
Use 'publicuser' as public role, not 'public', closes #95 .
...
This is consistent with cartodb behaviour, but not exactly
the same as the contract that the 'public' role guarantees
access to public resources. Possibly a better fix would be
to audit (ug) everything and make sure that it's really
using the public role to mean public, rather than the
'publicuser' connection role. That CDB creates.
2015-07-07 05:49:28 -07:00
Raul Ochoa
8190edb461
Merge pull request #83 from CartoDB/64-usertables
...
Replace CDB_UserTables with something that can handle multi-user accounts
2015-06-30 11:33:32 +02:00
Andy Eschbacher
e5897f3dad
Merge pull request #87 from CartoDB/categ-distrib
...
Function deciding criteria for using a category column in a map
2015-06-25 11:50:56 -04:00
Andy Eschbacher
b9fe204007
Merge pull request #81 from CartoDB/equalint
...
adding equal interval function for consistency
2015-06-25 11:08:24 -04:00
Andy Eschbacher
13946b4d47
update test output
2015-06-25 08:17:41 -04:00
Rafa de la Torre
c3eea08f66
Remove ECHO from expectation #86
...
Remove the `\set ECHO none` from expectation that is automatically
removed by the test harness but still appears in the output when a test
fails.
2015-06-24 16:29:40 +02:00
Rafa de la Torre
22fc962d09
Change expectation #86
...
Just add CONTEXT lines since they are now added in case of
WARNING/ERROR as a result of having CDB_QueryTables calling
CDB_QueryTablesText.
2015-06-24 16:01:45 +02:00
Andy Eschbacher
3ad3038c5e
fixed symlink path, other minor items
2015-06-23 18:32:16 -04:00
Andy Eschbacher
f8542af57a
add tests
2015-06-23 18:07:48 -04:00
Andy Eschbacher
9cb1fe30d8
adding tests
2015-06-08 15:01:50 -04:00
Paul Ramsey
dd3f125339
Fix test expectation
2015-06-01 11:10:06 -07:00
Paul Ramsey
e7ef5e7e8e
Clean up after tests
...
For #64
2015-06-01 10:57:30 -07:00
Andy Eschbacher
42a617e79c
ugh bad filename
2015-05-19 16:03:54 -04:00
Andy Eschbacher
bf4a31842b
new result
2015-05-19 15:50:34 -04:00
Andy Eschbacher
737dc1c1f1
updated formating of test
2015-05-18 12:12:55 -04:00
Andy Eschbacher
d0c85855f5
fixed test expectation value
2015-05-18 12:00:42 -04:00
Andy Eschbacher
ee1df92561
fixed precision in tests
2015-05-14 15:45:57 -04:00
Andy Eschbacher
16d0dc739a
added tests improved func
2015-05-14 15:32:58 -04:00