Re: Admin: Making raw_id fields navigable for readonly users

2020-01-18 Thread Julien Rebetez
Thanks for the quick response ! > The link should only be rendered if the user has permission to view the > target model. Right, didn't think about that. Will do > Perhaps a stupid question, but — wouldn't this apply to non-raw_id, readonly > foreign keys as well? I don't think they're rendere

Re: Admin: Making raw_id fields navigable for readonly users

2020-01-18 Thread Aymeric Augustin
Hello Julien, This would be a nice UX improvement. The link should only be rendered if the user has permission to view the target model. Perhaps a stupid question, but — wouldn't this apply to non-raw_id, readonly foreign keys as well? I don't think they're rendered as links, are they? Best re

Admin: Making raw_id fields navigable for readonly users

2020-01-18 Thread Julien Rebetez
Hello, When viewing a model with raw_id fields in the admin UI, if you only have view permission, then those fields are not rendered as links (you cannot go to the related model) - they are just plaintext. I that something that you would agree to change ? That would be helpful for us at work a