jane icon indicating copy to clipboard operation
jane copied to clipboard

add possibility to restrict all stations by wildcards in network/station

Open megies opened this issue 8 years ago • 5 comments

code.

Essentially makes it possible to hide all stations (or specific networks) for most users while making visible for some other users.

Restrictions seem to be untested in REST interface.. that's clearly something that should be done

megies avatar Sep 28 '17 19:09 megies

Probably it's also a good idea to relax the length restrictions on the network/station code fields, at some point. New developments in SEED or StationXML will most likely allow longer codes in the future..

megies avatar Sep 28 '17 20:09 megies

Looks pretty good - can you add a small test to this? ;-)

Also maybe add a small sentence to the documentation at the bottom of this page: http://krischer.github.io/jane/waveforms/index.html

krischer avatar Sep 29 '17 08:09 krischer

Test is not perfect, as it uses what was there already, with only a single station in the inventory.. but at least it's something

megies avatar Sep 29 '17 10:09 megies

Did you forget to push the tests? Also the new users field it not used currently.

krischer avatar Sep 29 '17 12:09 krischer

Did you forget to push the tests? Also the new users field it not used currently.

Yeah, forgot to commit the tests, so they weren't in the push.

The users field is not new, I just added the help text.

megies avatar Sep 29 '17 14:09 megies