Skip to content

Commit

Permalink
fix: Change sample policy description
Browse files Browse the repository at this point in the history
Signed-off-by: sagilio <[email protected]>
  • Loading branch information
sagilio committed Apr 1, 2023
1 parent 6a397ff commit e32ed0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
7 changes: 2 additions & 5 deletions samples/WebApplicationSample/CasbinConfigs/basic_policy.csv
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# Policy below will only match using both BasicRequestTransformer and CustomRequestTransformer
# Policy below will only match using the BasicRequestTransformer
p, [email protected], BasicTest, Get

# Policy below will only match if using the CustomRequestTransformer
# Policy below will only match if using the KeyMatchRequestTransformer
p, [email protected], /AttributeTest, GET

# Policy below will only match if using the CustomRequestTransformer
#p, [email protected], /home/privacy, GET
1 change: 0 additions & 1 deletion samples/WebApplicationSample/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public IActionResult BasicTest()
return View();
}

[CasbinAuthorize]
public IActionResult Privacy()
{
return View();
Expand Down

0 comments on commit e32ed0d

Please sign in to comment.