Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow user individual tags (and favorites) #43

Open
butonic opened this issue Nov 14, 2019 · 2 comments
Open

Allow user individual tags (and favorites) #43

butonic opened this issue Nov 14, 2019 · 2 comments

Comments

@butonic
Copy link
Contributor

butonic commented Nov 14, 2019

The favorite flag is a user specific property for a file that cannot be mapped to extended attributes without leaking who has marked a file as a favorite.

It is a specific case of a tag, which is user individual as well. I see these types of tags

  1. public that are maganed by everyone
  2. private (or user individual) tags that are only visible to the user
  3. system tags that are only visible to the system
  4. group tags that are only visible to a group ...

This can be solved using different namespaces or scopes for tags

  1. public = p:
  2. private = u:: for user specific
  3. system = s: for system
  4. group = g::
  5. app? = a:: for apps?

Obviously this only is secure when the u/s/g/a namespaces are not accessible by users in the filesystem. public tags can be mapped to extended attributes, eg. dublin core metadata.

@butonic
Copy link
Contributor Author

butonic commented Nov 15, 2019

namespaces for metadata was already mentioned in #31 (comment)

@labkode
Copy link
Member

labkode commented Nov 18, 2019

@butonic this issue makes a lot of sense for favourites and any other metadata that user can attach to a shared resource like comments, chats, tags, ...

I've asked Andreas from the EOS team who is/was dealing with such dilemma for extended attributes.

If the extended attributes have support for such visibility we don't need to create a layer on top

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants