[
https://issues.apache.org/jira/browse/ACCUMULO-343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Vines resolved ACCUMULO-343.
---------------------------------
Resolution: Won't Fix
We do not keep any sort of list of visibilities, so this is not a possibility.
Furthermore there is no definition of visibilities, so there is no such thing
as defined and undefined visibilities, so it's not possible.
The closest thing to what you want to do is probably achieved via the
visibility constraint. This constraint prevents a user from insert any piece of
data that they cannot view themselves. However, it still leaves them the
possibility of inserting a record with a visibility they can see, but do not
hold the authorizations for every visibility present. Check out the
README.visibility for an example of it (I think that's the readme name).
> Using non-existant visibility with command-line insert should display error
> message.
> ------------------------------------------------------------------------------------
>
> Key: ACCUMULO-343
> URL: https://issues.apache.org/jira/browse/ACCUMULO-343
> Project: Accumulo
> Issue Type: Improvement
> Reporter: David Medinets
> Priority: Minor
>
> When I inserted a record with a visibility label that was undefined, nothing
> happens. These are the steps I followed:
> {noformat}
> $ start the command line client.
> > createtable test
> test> insert florida george age 50 -l readable
> test> scan
> {noformat}
> Notice that there are no error messages or inserted records. Now let's define
> the visibility label and try again.
> {noformat}
> test> setauths -u root -s readable
> test> insert florida george age 50 -l readable
> test> scan
> florida george:age [readable] 50
> {noformat}
> Once the visibility is defined, the record is properly inserted.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira