Closed GeoDoo closed 4 years ago
Looking good! I just pushed a change to master (946fe28e) that makes admin-header-views a hook. You should now be able to remove your change to header.cljs & "register" the header item in the same manner as the bots
module now does.
Cool, thanks for that. I tried in the beginning to make the changes you made but I couldn't do it 😄 Check now! It should be ok I guess.
Nice! Btw, one other thing to note: currently, although the link only shows up if the user is an admin, the user can still manually type the url in to get to that page. The users-page-view
should probably also check if the user viewing is an admin for the current group -- see braid.bots.client.views.bots-page
for an example of how we do that.
😄 Yes, I have noticed that already. A small step at a time! 😄 I will check that out too, thanks for the guidance. 🎉
Hey @GeoDoo! Just so this PR doesn't bit-rot away, I'm going to clean up some little things and merge it now.
Please feel free to open up a new PR to add more enhancements 😄
Cool thanks @jamesnvc sorry for that, busy weeks 😄