Juan Ignacio Sánchez Lara
Juan Ignacio Sánchez Lara
I'm removing this from DO blockers because we'll unlock the release with a simpler workaround. More information here: #215 I'm not closing this yet because this should be addressed when...
As a specific conclusion of "be aware of this ticket", we agreed on considering creating a simpler task class hierarchy when we tackle the "declarative ETL" task in the future.
In the editor [table owner role is used](https://github.com/CartoDB/cartodb/blob/master/app/models/table.rb#L883).
¯_(ツ)_/¯ Let's summon @rafatower , maybe he knows a reason on why Table always uses owner. It just looks like usage of Table has always been based on `owner` instead...
Ok, back to the issue, this might turn into a "user should've had permission on sequence" error, isn't it? Maybe I can fix it at CartoDB/issues#3859 as well.
True, maybe in [`CDB_Organization_Add_Table_Read_Write_Permission`](https://github.com/CartoDB/cartodb-postgresql/blob/master/scripts-available/CDB_Organizations.sql#L52)?
Adding an index is not a problem, isn't it? It's transparent to user B. Only entities with high coupling to the tables, like sequences, should be granted, and I can't...