[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-30 Thread Andrew Purtell (JIRA)

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

Andrew Purtell updated HBASE-10883:
---

Fix Version/s: (was: 0.98.2)
   0.98.3

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
Assignee: ramkrishna.s.vasudevan
 Fix For: 0.99.0, 0.98.3

 Attachments: HBASE-10883.patch, HBASE-10883_1.patch, 
 HBASE-10883_2.patch, HBASE-10883_3.patch, HBASE-10883_4.patch, 
 HBASE-10883_5.patch, HBASE-10883_6.patch, HBASE-10883_7.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-30 Thread Andrew Purtell (JIRA)

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

Andrew Purtell updated HBASE-10883:
---

Fix Version/s: (was: 0.98.3)
   0.98.2

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
Assignee: ramkrishna.s.vasudevan
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch, HBASE-10883_1.patch, 
 HBASE-10883_2.patch, HBASE-10883_3.patch, HBASE-10883_4.patch, 
 HBASE-10883_5.patch, HBASE-10883_6.patch, HBASE-10883_7.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-09 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-10883:
---

Status: Open  (was: Patch Available)

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
Assignee: ramkrishna.s.vasudevan
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch, HBASE-10883_1.patch, 
 HBASE-10883_2.patch, HBASE-10883_3.patch, HBASE-10883_4.patch, 
 HBASE-10883_5.patch, HBASE-10883_6.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-09 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-10883:
---

Attachment: HBASE-10883_7.patch

This is what was committed to trunk and 0.98.
Thanks for the reviews everyone.

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
Assignee: ramkrishna.s.vasudevan
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch, HBASE-10883_1.patch, 
 HBASE-10883_2.patch, HBASE-10883_3.patch, HBASE-10883_4.patch, 
 HBASE-10883_5.patch, HBASE-10883_6.patch, HBASE-10883_7.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-07 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-10883:
---

Status: Open  (was: Patch Available)

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
Assignee: ramkrishna.s.vasudevan
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch, HBASE-10883_1.patch, 
 HBASE-10883_2.patch, HBASE-10883_3.patch, HBASE-10883_4.patch, 
 HBASE-10883_5.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-07 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-10883:
---

Status: Patch Available  (was: Open)

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
Assignee: ramkrishna.s.vasudevan
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch, HBASE-10883_1.patch, 
 HBASE-10883_2.patch, HBASE-10883_3.patch, HBASE-10883_4.patch, 
 HBASE-10883_5.patch, HBASE-10883_6.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-07 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-10883:
---

Attachment: HBASE-10883_6.patch

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
Assignee: ramkrishna.s.vasudevan
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch, HBASE-10883_1.patch, 
 HBASE-10883_2.patch, HBASE-10883_3.patch, HBASE-10883_4.patch, 
 HBASE-10883_5.patch, HBASE-10883_6.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-03 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-10883:
---

Attachment: HBASE-10883_3.patch

Updated patch.

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch, HBASE-10883_1.patch, 
 HBASE-10883_2.patch, HBASE-10883_3.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-03 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-10883:
---

Status: Patch Available  (was: Open)

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch, HBASE-10883_1.patch, 
 HBASE-10883_2.patch, HBASE-10883_3.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-03 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-10883:
---

Status: Open  (was: Patch Available)

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch, HBASE-10883_1.patch, 
 HBASE-10883_2.patch, HBASE-10883_3.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-03 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-10883:
---

Status: Open  (was: Patch Available)

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch, HBASE-10883_1.patch, 
 HBASE-10883_2.patch, HBASE-10883_3.patch, HBASE-10883_4.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-03 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-10883:
---

Status: Patch Available  (was: Open)

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch, HBASE-10883_1.patch, 
 HBASE-10883_2.patch, HBASE-10883_3.patch, HBASE-10883_4.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-03 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-10883:
---

Attachment: HBASE-10883_4.patch

Sorry for the mistake.  This patch works fine.

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch, HBASE-10883_1.patch, 
 HBASE-10883_2.patch, HBASE-10883_3.patch, HBASE-10883_4.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-03 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-10883:
---

Attachment: HBASE-10883_5.patch

Patch got stale with latest code.

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
Assignee: ramkrishna.s.vasudevan
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch, HBASE-10883_1.patch, 
 HBASE-10883_2.patch, HBASE-10883_3.patch, HBASE-10883_4.patch, 
 HBASE-10883_5.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-03 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-10883:
---

Status: Patch Available  (was: Open)

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
Assignee: ramkrishna.s.vasudevan
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch, HBASE-10883_1.patch, 
 HBASE-10883_2.patch, HBASE-10883_3.patch, HBASE-10883_4.patch, 
 HBASE-10883_5.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-03 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-10883:
---

Assignee: ramkrishna.s.vasudevan
  Status: Open  (was: Patch Available)

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
Assignee: ramkrishna.s.vasudevan
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch, HBASE-10883_1.patch, 
 HBASE-10883_2.patch, HBASE-10883_3.patch, HBASE-10883_4.patch, 
 HBASE-10883_5.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-01 Thread Andrew Purtell (JIRA)

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

Andrew Purtell updated HBASE-10883:
---

Summary: Restrict the universe of labels and authorizations  (was: Restrict 
the universe of labels and authorizations to [A-Za-z0-9\_][A-Za-z0-9\_\-]*)

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
 Fix For: 0.99.0, 0.98.2


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-01 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-10883:
---

Attachment: HBASE-10883.patch

Patch for trunk.  Should apply on 0.98 also.
Tested with shell also.  Throws exception if any special characters are used.

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-01 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-10883:
---

Status: Patch Available  (was: Open)

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-01 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-10883:
---

Attachment: HBASE-10883_1.patch

Now validation is sync with VisibilityLabelsValidator.  Also checks for empty 
string or white space String.

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch, HBASE-10883_1.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-01 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-10883:
---

Status: Patch Available  (was: Open)

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch, HBASE-10883_1.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-01 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-10883:
---

Status: Open  (was: Patch Available)

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch, HBASE-10883_1.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-01 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-10883:
---

Status: Open  (was: Patch Available)

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch, HBASE-10883_1.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-01 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-10883:
---

Attachment: HBASE-10883_2.patch

Checks both on client and server side.  The matcher code is moved to 
VisbililtyLabelsValidator.

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch, HBASE-10883_1.patch, 
 HBASE-10883_2.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HBASE-10883) Restrict the universe of labels and authorizations

2014-04-01 Thread ramkrishna.s.vasudevan (JIRA)

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

ramkrishna.s.vasudevan updated HBASE-10883:
---

Status: Patch Available  (was: Open)

 Restrict the universe of labels and authorizations
 --

 Key: HBASE-10883
 URL: https://issues.apache.org/jira/browse/HBASE-10883
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.1
Reporter: Andrew Purtell
 Fix For: 0.99.0, 0.98.2

 Attachments: HBASE-10883.patch, HBASE-10883_1.patch, 
 HBASE-10883_2.patch


 Currently we allow any string as visibility label or request authorization. 
 However as seen on HBASE-10878, we accept for authorizations strings that 
 would not work if provided as labels in visibility expressions. We should 
 throw an exception at least in cases where someone tries to define or use a 
 label or authorization including visibility expression operators '', '|', 
 '!', '(', ')'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)