From 4edc44f2a3fabbf6ea466a7c674f7fb049ddfd14 Mon Sep 17 00:00:00 2001 From: Archit Gupta Date: Wed, 15 Jan 2025 15:34:08 -0500 Subject: [PATCH] JWT Authorization Concern (#140) * Implemented authorization logic via Application controller * Integration with courses controller requiring at least Instructor level authorization * Made return values more consistent for definite role determination * Tests for authorization concern * Consistent parameter names * Added tests for all_actions_allowed? method under auth concern * Added tests for action_allowed? method under auth concern * Added tests for authorize method under auth concern * Correction in role for all_actions_allowed * Fixes in auth spec description and courses tests * Editing names of methods to make it more readable --------- Co-authored-by: anshganatra Co-authored-by: kmalick