timvt icon indicating copy to clipboard operation
timvt copied to clipboard

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

Open tobwen opened this issue 3 years ago • 6 comments

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:

  • User A.1 can access area A and all attributes,
  • User A.2 can access area A, but only some of the attributes,
  • User B.3 can access areas A and B and just the attribute ID,
  • etc.

tobwen avatar Feb 11 '22 02:02 tobwen

👋 @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.

vincentsarago avatar Feb 11 '22 09:02 vincentsarago

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?

tobwen avatar Feb 11 '22 09:02 tobwen

@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.

vincentsarago avatar Feb 11 '22 09:02 vincentsarago

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 :)

tobwen avatar Feb 11 '22 09:02 tobwen

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.

vincentsarago avatar Feb 11 '22 09:02 vincentsarago

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.

tobwen avatar Feb 11 '22 09:02 tobwen