Skip to content

Commit

Permalink
ISSUE #448: Changes at ability
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorMonardez committed Dec 10, 2024
1 parent ebbc3f2 commit 02798f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/ability.rb
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def initialize_configurations(user, roles)
alias_action :execute_now, :execute_now, :notify, to: :update
if roles[Role::ROLE_COORDENACAO]
can :manage, (Ability::CONFIGURATION_MODELS - [
CustomVariable, ReportConfiguration, ProgramLevel
CustomVariable, ReportConfiguration
])
end
if roles[Role::ROLE_SECRETARIA]
Expand Down
2 changes: 1 addition & 1 deletion app/views/student_enrollment/_show_dismissal.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<h4><%= t "activerecord.attributes.enrollment.thesis_defense_committee_professors" %></h4>
<%= render partial: "enrollments/show_defense_committee_table", locals: {
thesis_defense_committee_professors: thesis_defense_committee_professors,
thesis_defense_date: enrollment.thesis_defense_date,
thesis_defense_date: thesis_defense_date,
} %>
<% end %>
</details>
Expand Down

0 comments on commit 02798f2

Please sign in to comment.