goshencollege / gc-communicator

1 stars 0 forks source link

Default author for new announcement #57

Open davidwkdavidwk opened 2 years ago

davidwkdavidwk commented 2 years ago

Issue

When creating a new announcement the Author field is blank.

Desired functionality

It should default to the author's display name

Additional context

There isn't currently a field in the User entity for storing the user's display name. We'll be pulling that information from the SAML authentication process (eventually) but we should create that field now so that we can use it here.

dboling19 commented 2 years ago

This field exists in the database currently, I just have no information to pull it from until we know what the SAML integration will be like. I have two user fields per announcement; the username (dboling) and the author (Daniel Boling). Currently the author is manually entered because the temporary user-base does not have that information integrated. I could add that field temporarily, but I am uncertain if the functionality will have to change upon integrating SAML.