[jira] [Comment Edited] (CASSANDRA-9927) Security for MaterializedViews

2015-08-06 Thread Jonathan Ellis (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-9927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14660218#comment-14660218
 ] 

Jonathan Ellis edited comment on CASSANDRA-9927 at 8/7/15 4:23 AM:
---

I'm okay with either require explicit grants or always validate against base 
table for 3.0.  So let's go with the latter.


was (Author: jbellis):
I'm okay with either require explicit grants or always validate against base 
table for 3.0.

 Security for MaterializedViews
 --

 Key: CASSANDRA-9927
 URL: https://issues.apache.org/jira/browse/CASSANDRA-9927
 Project: Cassandra
  Issue Type: Task
Reporter: T Jake Luciani
  Labels: materializedviews
 Fix For: 3.0 beta 1


 We need to think about how to handle security wrt materialized views. Since 
 they are based on a source table we should possibly inherit the same security 
 model as that table.  
 However I can see cases where users would want to create different security 
 auth for different views.  esp once we have CASSANDRA-9664 and users can 
 filter out sensitive data.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (CASSANDRA-9927) Security for MaterializedViews

2015-08-06 Thread T Jake Luciani (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-9927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14660048#comment-14660048
 ] 

T Jake Luciani edited comment on CASSANDRA-9927 at 8/6/15 2:02 PM:
---

I don't think they inherit the base tables permissions currently.  

It would be trivial to add the current role to the MV at the time of MV 
creation.  However it's not clear if you want the role pinned so any changes to 
the base affect the view.  That would go against the let users add different 
roles for different views.  




was (Author: tjake):
I don't think they inherit the base tables permissions currently.  

I would be trivial to add the current role to the MV at the time of MV 
creation.  However it's not clear if you want the role pinned so any changes to 
the base affect the view.  That would go against the let users add different 
roles for different views.  



 Security for MaterializedViews
 --

 Key: CASSANDRA-9927
 URL: https://issues.apache.org/jira/browse/CASSANDRA-9927
 Project: Cassandra
  Issue Type: Task
Reporter: T Jake Luciani
  Labels: materializedviews
 Fix For: 3.0 beta 1


 We need to think about how to handle security wrt materialized views. Since 
 they are based on a source table we should possibly inherit the same security 
 model as that table.  
 However I can see cases where users would want to create different security 
 auth for different views.  esp once we have CASSANDRA-9664 and users can 
 filter out sensitive data.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (CASSANDRA-9927) Security for MaterializedViews

2015-08-06 Thread Jonathan Ellis (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-9927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14660201#comment-14660201
 ] 

Jonathan Ellis edited comment on CASSANDRA-9927 at 8/6/15 3:58 PM:
---

I'm happy with leaving MV permissions to be set explicitly.  Inheriting base 
permissions is definitely not the right thing in all situations.

NB: Aleksey pointed out that we do to require SELECT on the base table when 
CREATEing an MV.


was (Author: jbellis):
I'm happy with leaving MV permissions explicity.  Inheriting base permissions 
is definitely not the right thing in all situations.

NB: Aleksey pointed out that we do to require SELECT on the base table when 
CREATEing an MV.

 Security for MaterializedViews
 --

 Key: CASSANDRA-9927
 URL: https://issues.apache.org/jira/browse/CASSANDRA-9927
 Project: Cassandra
  Issue Type: Task
Reporter: T Jake Luciani
  Labels: materializedviews
 Fix For: 3.0 beta 1


 We need to think about how to handle security wrt materialized views. Since 
 they are based on a source table we should possibly inherit the same security 
 model as that table.  
 However I can see cases where users would want to create different security 
 auth for different views.  esp once we have CASSANDRA-9664 and users can 
 filter out sensitive data.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)