when logged in with and admin account, all pages crash
petelliott opened this issue · 2 comments
petelliott commented
when logged in with an admin account, (that has no author) the template rendering fails. please account for users without authors.
colinchoix commented
Just wondering before I work on this, is there a reason we don't just give the super admin an entry in the author table? If the superadmin is expected to interact with the site, this seems like a simpler solution
petelliott commented
Because there can be multiple admins and no way to enforce this. And it is
no harder to check than if the user is authenticated with Author.from_user()
…On Wed., Mar. 11, 2020, 23:44 Colin Choi, ***@***.***> wrote:
Just wondering before I work on this, is there a reason we don't just give
the super admin an entry in the author table? If the superadmin is expected
to interact with the site, this seems like a simpler solution
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#90 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB5YOIFTPO3DUJADVCXQORDRHBZDTANCNFSM4LF3O23Q>
.