HelloZeroNet / ZeroID

ZeroNet authentication provider
http://127.0.0.1:43110/zeroid.bit
GNU General Public License v2.0
43 stars 24 forks source link

allow storage of url (the saved url has additional info about user) #5

Open Erkan-Yilmaz opened 8 years ago

Erkan-Yilmaz commented 8 years ago

I. When zeroid could save an url (1) from the user, other services like e.g. zerotalk could use this info from zeroid to make the username clickable with this url

the url is in most of the cases a ZN address, where the user details more info (blog, homepage, gpg key, hobbies, ...)

so e.g. ideas like this would be possible: https://github.com/HelloZeroNet/ZeroTalk/issues/13

II. this feature would need: adding url editing url in future deleting url (deleting is a sub case of editing)

(1) it must be not a complete url, but only everything that comes after http://127.0.0.1:43110/

HelloZeroNet commented 8 years ago

I don't think it's a good idea to add this information to zeroid, but a separate site would be nice.

jpfox commented 8 years ago

I think it's a good idea to have just one url, why you don't think so ?

Erkan-Yilmaz commented 8 years ago

We had a chat with @jpfox before reporting this issue.

My arguments against saving any info, would be:

  1. KISS (keep it simple, stupid)
  2. admin manipulation
  3. in future space problems

to 1: every change may break something to 2: as in ZeroChat every user might have his own dir inside zeroid which he signs, so the admin may manipulate something is a little invalid. Still, the admin of the ID site could manipulate the url. Though, the info itself which the user wanted to present is still accessible somewhere. It must not only be the admin that does manipulation, e.g. someone "trespassing the barriers" and accessing ID provider's private key

  1. space problems (in future) is still valid, though.
HelloZeroNet commented 8 years ago

It's better if one site do one thing. If you create a separate site for this then you can support more id providers and anyone easily able to clone it and create modifications.

With more info it would be much more useful: Blog url, Contact url (eg. Zeromail site), Other site/project he/she created, Short introduction text, Nationality and an avatar as optional files.

And a search functionality based on this.

fiskr commented 7 years ago

Kinda like a bridge table when trying to normalize to 3rd normal form in databases. 😆