Skip to content

Commit 595a2f4

Browse files
committed
Remove additional references to roles
1 parent 9ddc549 commit 595a2f4

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

app-rails/app/views/users/registrations/new.html.erb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
</div>
1313

1414
<%= us_form_with model: @form, url: users_registrations_path, local: true do |f| %>
15-
<%= f.hidden_field :role %>
1615
<%= f.honeypot_field %>
1716
<%= f.email_field :email %>
1817

docs/app-rails/auth.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ Authentication is the process of verifying the credentials of a user. We use AWS
1313

1414
Authorization is the process of determining whether a user has access to a specific resource. We use [Pundit](https://github.com/varvet/pundit) for authorization.
1515

16-
- User roles are defined in the `user_roles` table
1716
- Policies (`app/policies`) are created for each model to define who can perform what actions
1817
- Policies are used in controllers to authorize actions
1918
- Policies are used in views to show/hide elements based on user permissions

0 commit comments

Comments
 (0)