-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathusers.erb
More file actions
33 lines (30 loc) · 806 Bytes
/
users.erb
File metadata and controls
33 lines (30 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!--
Created with ruby mirc tools
mkohli@iu.edu
This is the template for the user specification file in RSNA's MIRC
teaching file software.
-->
<users mode="digest">
<user
password="224587273933662737450362931575084676949"
username="admin">
<role>author</role>
<role>admin</role>
<role>department</role>
<role>publisher</role>
</user>
<user
password="126680608771750945340162210354335764377"
username="king">
<role>admin</role>
<role>shutdown</role>
</user>
<% @people.each do |person| %>
<user
password="<%= person.hashed_password%>"
username="<%= person.username %>">
<% person.roles.each do |r| %><role><%= r %></role>
<% end %>
</user>
<% end %>
</users>