developmentseed / timvt

PostGIS based Vector Tile server.
https://developmentseed.org/timvt/
MIT License
187 stars 27 forks source link

[feature request] add auth to restrict access to features (spatial, attributes) #77

Open tobwen opened 2 years ago

tobwen commented 2 years ago

tl;dr

While other frameworks can handle authentification, it's would be very nice to get authorization into timvt .

authorization?

Authorization, in this case, means to restrict the access data and their attributes to limited spatial extents:

vincentsarago commented 2 years ago

👋 @tobwen I believe you can extend timvt in your own application. Auth can be tricky and should be user defined. That is said I'll be happy to review any PR if you thing about a nice solution.

tobwen commented 2 years ago

Okay. How "stable" is timvt? When I get into it intensively, it would be great if the core wouldn't change too much. Also, do you plan to keep timvt alive a bit?

vincentsarago commented 2 years ago

@tobwen

How "stable" is timvt?

I've pushed quite some change in the last 2 days but I think we don't need to change anything now 😂

do you plan to keep timvt alive a bit?

I'm not sure to understand.

tobwen commented 2 years ago

I'm not sure to understand.

Some vector-tile projects are just "implementation tests" because someone wanted to check out, how creating tiles works at all. I had this problem in the past. Many VT-project get deprecated pretty quick :)

vincentsarago commented 2 years ago

Well I can't made any promise but as long as outside contributor comes with nice issue / PR I'll have time to take care of it.

tobwen commented 2 years ago

Hehe okay. I'll give it some thought. Since I need spatial and attribute restrictions for a project, I need to implement them anyway. Maybe I'll be able to build it into timvt.

Thanks for the nice project.