question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Recomendations for ACL?

See original GitHub issue

Ktor Version

1.0.1

Ktor Engine Used(client or server and name)

Netty Server

JVM Version, Operating System and Relevant Context

JVM 1.8.0_181

Feedback

This isn’t a bug, more of a question/feature request. How do people handle access control.

For example, users only being able to access/edit their profile page, admins being able to access everywhere?

I started doing this in each get/post but felt like I was dumping access control responsibility on the controllers. So then I started adding intercepts for each route:

location<Route> {
 interceptUserIsLoggedIn()
}

My issue with that is now there feels like very loose coupling as I have my Access Control somewhere completely different.

Thoughts on best practices around this?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
otcdlink-simpleusercommented, Dec 21, 2018

@chrisjenx I’ve taken inspiration from the following:

0reactions
e5lcommented, Apr 5, 2021

Closed as answered

Read more comments on GitHub >

github_iconTop Results From Across the Web

Evidence-based recommendations for the management of ...
What are the objectives of ACL rupture management? · Restore knee function · Address psychological barriers to resuming activity participation · Prevent further ......
Read more >
How should clinicians rehabilitate patients after ACL ...
Which recommendations should clinicians follow? From five high-quality CPGs, we conclude that immediate knee mobilisation and strength/neuromuscular training ...
Read more >
After ACL Surgery | Patient Education | UCSF Health
See our recommendations for helping your knee recover (and when to call the doctor) after surgery. Find out what to expect from your...
Read more >
Anterior Cruciate Ligament (ACL) Injuries - Clinical Practice ...
Appropriate use criteria (AUC) provide treatment recommendations on a patient-specific level using evidence from AAOS clinical practice guidelines, along with ...
Read more >
7 Tips to Prepare for ACL Surgery
It's important to start walking within a day or two after ACL surgery, but only a little. Walking for a minute or two...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found