Feature requests: clarify User Access Tokens report option, add additional option, bug?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've been testing canvas locally in Docker, and was running the User Access Tokens report. One thing is confusing - when configuring the report you are given the option of "Include Deleted Objects"
The problem with this language - in common language "object" usually refers to a thing - so in this case it sounds like deleted tokens will be returned. Instead, looking through the code:
user_tokens = root_account.pseudonyms
.select(columns)
.joins(user: :access_tokens).order("users.id, sortable_name, last_used_at DESC")
user_tokens = user_tokens.where.not(pseudonyms: { workflow_state: "deleted" }) unless @include_deleted
It's actually including deleted "people" (pseudonyms, but feels more like people than objects). While that is useful, it would also be good to show deleted tokens in this report (perhaps a second option?). There's isn't a "deleted" column to show you what pseudonyms were deleted, which makes returning deleted pseudonyms (or tokens, if that were the case) kinda useless.
Just a suggestion - I was trying to figure out what the intent here was - and if it was to show deleted tokens or pseudonyms.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@canvasuser12 ...
If you would like to make a suggestion for an enhancement to Canvas, there is a separate area to do that here in the Community. However, you need to do a few more things to "rank up" (similar to leveling up in some video and board games) so that you are no longer Community Novice. I would like to direct your attention to the section on "Ideas and Themes" in on this page: Instructure Community Guide - Instructure Community (canvaslms.com). In particular, take a look at the page on how to create new ideas. There you will also find a link in the light blue section about Community ranks.
Feel free to come back to this topic to post a link to your newly created idea so that others have it as a reference.
Thanks, and let Community members know if you have any questions about this...thanks!