Comments (5)
@vpet98 there is a use case though:
When you request the /restricted method, being authenticated and authorized to view some networks, you can not see the others you are not authorized to see.
Let's consider someone having access to stats for network XX2022 but not for YY2023, /restricted?level=network&network=*&datacenter=GEOFON&details=none
will reply:
GE: many data
Z32015: a lot of data
XX2022: many data
Others: many data, representing all networks you are not allowed to see, sorry madam.
@javiquinte I let you also comment on this one.
from eida-statistics.
Can you explain this a little bit more? Isn't there always only one level, whether this is datacenter, network etc.?
Also, with the current design only one network can be specified at a time. Specifying more than one would cancel the restriction idea. So, in the case of specifying something in the network parameter, this cannot be appplied.
I think this could be applied only in the case when no network is specified at all and level is below datacenter.
from eida-statistics.
Ok, I can also check for network=*. So, this can be applied only when all networks are requested.
from eida-statistics.
Do we want this for the public method as well? E.g. /public?datacenter=GEOFON&level=network.
from eida-statistics.
Filtering and grouping should not be mixed, because no one knows how the requirements will evolve in the future.
What @jschaeff mentions is related to the aggregation of data. The filter will be driven by the "network" parameter.
from eida-statistics.
Related Issues (20)
- Starttime mandatory
- Replace datacenter and network management API with an information method HOT 2
- Implement a caching system HOT 2
- Add more functional tests HOT 1
- Write some behavioural tests
- Having openapi spec file served on the right protocol (https) HOT 2
- eida_statsman : add interface to manage networks and nodes policy HOT 2
- A simple method to get nodes and networks HOT 3
- Layout of the documentation HOT 2
- Sort CSV output HOT 1
- Extra information at the top of CSV format HOT 3
- eidastats_man manage authorizations HOT 1
- Permission error on table dataselect_stats problem is not reported to client HOT 1
- inconsistency in clients cardinality. HOT 8
- Webservice: accept JWT authentication
- Strange distribution of data from some nodes. HOT 1
- Sentry: set DSN by environment variable HOT 5
- Internal 500 errors HOT 5
- Pyramid-openapi3 dependency HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eida-statistics.