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

Abstract out user data provider. #13

Open
jasonkeene opened this issue Jun 3, 2014 · 0 comments
Open

Abstract out user data provider. #13

jasonkeene opened this issue Jun 3, 2014 · 0 comments

Comments

@jasonkeene
Copy link
Member

It was discussed in #12 that the current method of fetching/caching user data is rigid. It would be nice to have an option, something like user_data_provider, where you can specify your own logic for fetching this data. Use cases we should cover out of the box are:

  1. Fetching all user data up front globally for all redactor instances.
  2. Fetching all user data up but not cached globally.
  3. I'm also thinking of something that would fetch user data based on a URL pattern based on different variables. How we obtain these values I'm not certain. Perhaps have the redactor instance bound to some sort of representation of the current user?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant