[jira] [Updated] (HBASE-12552) listSnapshots should lists only owned snapshots for a non-super user

2014-11-21 Thread Ashish Singhi (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-12552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish Singhi updated HBASE-12552:
--
Attachment: HBASE-12552.patch

Patch for trunk.
Please review and share your comments.

 listSnapshots should lists only owned snapshots for a non-super user
 

 Key: HBASE-12552
 URL: https://issues.apache.org/jira/browse/HBASE-12552
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Reporter: Ashish Singhi
Assignee: Ashish Singhi
 Attachments: HBASE-12552.patch


 Currently list_snapshots lists all the snapshots available for a non-super 
 user which may not be correct, this should be applicable only for a user with 
 admin rights. 
 So I feel for a non-super user it should lists only the snapshots owned by it 
 if any.



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


[jira] [Updated] (HBASE-12552) listSnapshots should lists only owned snapshots for a non-super user

2014-11-21 Thread Ashish Singhi (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-12552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish Singhi updated HBASE-12552:
--
Status: Patch Available  (was: Open)

 listSnapshots should lists only owned snapshots for a non-super user
 

 Key: HBASE-12552
 URL: https://issues.apache.org/jira/browse/HBASE-12552
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Reporter: Ashish Singhi
Assignee: Ashish Singhi
 Attachments: HBASE-12552.patch


 Currently list_snapshots lists all the snapshots available for a non-super 
 user which may not be correct, this should be applicable only for a user with 
 admin rights. 
 So I feel for a non-super user it should lists only the snapshots owned by it 
 if any.



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


[jira] [Updated] (HBASE-12552) listSnapshots should lists only owned snapshots for a non-super user

2014-11-21 Thread Ted Yu (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-12552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated HBASE-12552:
---
Attachment: 12552-v2.patch

Patch v2: parameter oserver replaced with observer.

 listSnapshots should lists only owned snapshots for a non-super user
 

 Key: HBASE-12552
 URL: https://issues.apache.org/jira/browse/HBASE-12552
 Project: HBase
  Issue Type: Bug
  Components: snapshots
Reporter: Ashish Singhi
Assignee: Ashish Singhi
 Attachments: 12552-v2.patch, HBASE-12552.patch


 Currently list_snapshots lists all the snapshots available for a non-super 
 user which may not be correct, this should be applicable only for a user with 
 admin rights. 
 So I feel for a non-super user it should lists only the snapshots owned by it 
 if any.



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