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

_createdBy should be getting assigned from admin portal #4

Open
karl-thomas opened this issue May 29, 2018 · 2 comments
Open

_createdBy should be getting assigned from admin portal #4

karl-thomas opened this issue May 29, 2018 · 2 comments

Comments

@karl-thomas
Copy link

karl-thomas commented May 29, 2018

Currently, the _createdBy field, or fields similar to it are not being filled out automatically when an admin creates a bit of content. this causes a lot of errors on the front end and leads to a lot checking if the user is there or not, where if the content was created on the front end, it would almost always be explicitly assigned.
Possible issues with adding this

  • admin wants to assign a different user to have created something rather than themselves.
  • _createdBy could not be the name of the field
  • admin could want no created by user on a specific item for some reason.
@ashanan
Copy link

ashanan commented May 29, 2018

@rockrgrrl @cstallings1 do either of you know if this was done for a particular reason or is this a bug?

@cstallings1
Copy link
Contributor

@ashanan I wouldn't call it a bug but I'm not sure that it was purposefully never added in. If anything I would say that we try to keep the admin portal pretty flexible and this is assuming:

    • there is a field called '_createdBy' that references a User object
    • the admin user should be the name displayed as the one who created it

So pretty much the issues Karl pointed out. But I'm not sure that those are big enough issues to warrant not adding it.

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

3 participants