Skip to content

Managing granular authorisation in .NET

Photo of John Merchant
Hosted By
John M.
Managing granular authorisation in .NET

Details

Details
An in-person and online event!

Managing granular authorisation in .NET

We have a challenge: Modern day administrators want to keep a tight rein on who can perform different actions in their systems. Join us and learn how we’ve evolved our authorisation patterns to grant highly granular permissions to different users, while maintaining developer-friendly patterns in code.
In this talk I’ll explain how we’ve approached this challenge, including:

  • How we’ve encoded discreet permission levels as bits in a 64-bit integer using a .NET flags enum.
  • How we’ve used an extended Authorize attribute to allow for developer to add authorisation in one line to API controllers/endpoints.
  • How we’ve enabled dynamic policy generation to account for the potentially quintillions of unique permission combinations that this enables.

Check out Ryan’s video introduction to this talk at https://youtu.be/lU5nNpASgbs

This is an in-person event. Virtual attendance will also available via YouTube at https://youtube.com/live/3YRs3PJFaIs?feature=share

Thanks to Encode Talent and Taptu! 🍕 🎉

COVID-19 safety measures

Event will be indoors
The event host is instituting the above safety measures for this event. Meetup is not responsible for ensuring, and will not independently verify, that these precautions are followed.
Photo of Adelaide .NET User Group group
Adelaide .NET User Group
See more events