-
Notifications
You must be signed in to change notification settings - Fork 244
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
Add DARIA admin panel view #1463
Comments
@valeriecodes this is something that I've been meaning to do for awhile that I think would be a great security and administration value-add, if you've got interest and capacity. If it sounds good or interesting to you, lmk! |
YES! |
❗️
I don't think I have an opinion on what this should look like, so you can do it as simple or complex as you like. Does this feel like good runway, anything I can do to get you off on the right foot here? Would you like me to break this into component tickets? |
Hi @colinxfleming, took a closer look at this one today. I also noticed the AuditTrail, which could also potentially be used for the created user use case, but in the interest of extensibility I assume it's preferable to take the events approach? |
@valeriecodes I could def be convinced that we could do this all with audittrail. Down the line we're going to care about stuff like privilege escalations, logins, etc, and maybe some other stuff outside the user model Events as its own model felt like the most straightforward way to do that when we were setting up the CM activity feed, but if AuditTrail works out of the box without having to write too much additional code, why not, right? The nut of this question might be 'how easy is it to query and parse audit trail records for some particular condition', 'how easy is it to categorize them by type', and 'how easy is it to shuffle in Event objects'. Those are basically the problems that the Event model is solving, so if the answer to those questions is 'easy as hell' then maybe we don't need the standalone Event model? |
I'd like to revisit this in the nearish future. Here's what I think I'd like, specifically, to start:
|
Did a little experimentation on this tonight:
|
@colinxfleming I finished up these designs!
A few notes:
Let me know if you have any feedback or if you want to talk through anything! |
This is absolutely fabulous and I'm very thankful for this contribution - for sure it's making us think of stuff we wouldn't have otherwise considered that's going to be extremely useful! I think tags as a set thing is chill, but would prefer to avoid a world where we're adding tags to events on the fly - I think adding tags when we log an event should be fine. I don't think I have any other particular critiques though, and we can 100% run with this. We also may want to figure out a way to simplify the search stuff (primarily for laziness' / expediency's sake) when we draft those tickets. So to break this up into steps we can delegate out, I think it looks something like this:
I will start drafting tickets shortly! |
Awesome, thanks! Let me know if you need anything from me :) |
@all-contributors please add @emtot22 for design 🎉 |
I've put up a pull request to add @emtot22! 🎉 |
Thanks for creating an issue! Please fill out this form so we can be sure to have all the information we need, and to minimize back and forth.
A suggested enhancement from our report:
They're right, we should do this. Here's my proposal:
We have a searchable log system (logentries) that is accessible to engineers, but I'm not sure there's any utility to making it admin ready. @alisonnjones should holler if that's not the case and she wants to see the guts.
Security notices
Do stuff above
Via our security audit
The text was updated successfully, but these errors were encountered: