v0.11.3 - Fixed roles
Added pattern to passwords
This commit is contained in:
@@ -70,9 +70,9 @@
|
||||
<tr>
|
||||
<td>Aktiviteter</td>
|
||||
<td><p>Empty</p></td>
|
||||
<td><input id="EventCAccount" type="checkbox" name="value[]" value="userevent.create"></td>
|
||||
<td><input id="EventParticipateAccount" type="checkbox" name="value[]" value="userevent.create"></td>
|
||||
<td><input id="EventRAccount" onclick="if ($('#EventR').prop('checked') == false) $('#EventR').prop('checked', true); else $('#EventR').prop('checked', false);" type="checkbox" name="value[]" value="event.show"></td>
|
||||
<td><input id="EventDAccount" type="checkbox" name="value[]" value="userevent.delete"></td>
|
||||
<td><input id="EventStopParticipatingAccount" type="checkbox" name="value[]" value="userevent.delete"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Reservationer</td>
|
||||
@@ -195,7 +195,7 @@
|
||||
<td><input id="ReservationR" onclick="if ($('#ReservationRAccount').prop('checked') == false) $('#ReservationRAccount').prop('checked', true); else $('#ReservationRAccount').prop('checked', false);" type="checkbox" name="value[]" value="washing.machine.reservation.show"></td>
|
||||
<td></td>
|
||||
<td><input id="ReservationD" onclick="if ($('#ReservationCAccount').prop('checked') == false) $('#ReservationDAccount').prop('checked', true); else $('#ReservationDAccount').prop('checked', false);" type="checkbox" name="value[]" value="washing.machine.reservation.delete"></td>
|
||||
<td><input id="Reservation" type="checkbox" onclick="FullControl(this)"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Kontakter</td>
|
||||
@@ -222,7 +222,7 @@
|
||||
<td><input id="FeedbackR" type="checkbox" name="value[]" value="feedback.show"></td>
|
||||
<td></td>
|
||||
<td><input id="FeedbackD" type="checkbox" name="value[]" value="feedback.delete"></td>
|
||||
<td><input id="Feedback" type="checkbox" onclick="FullControl(this)"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@@ -332,11 +332,21 @@
|
||||
$('#' + Read).prop('checked', false);
|
||||
$('#' + Update).prop('checked', false);
|
||||
$('#' + Delete).prop('checked', false);
|
||||
|
||||
// If there is a button in the app side too - Then check off
|
||||
$('#' + Create + 'Account').prop('checked', false);
|
||||
$('#' + Read + 'Account').prop('checked', false);
|
||||
$('#' + Delete + 'Account').prop('checked', false);
|
||||
} else {
|
||||
$('#' + Create).prop('checked', true);
|
||||
$('#' + Read).prop('checked', true);
|
||||
$('#' + Update).prop('checked', true);
|
||||
$('#' + Delete).prop('checked', true);
|
||||
|
||||
// If there is a button in the app side too - Then check on
|
||||
$('#' + Create + 'Account').prop('checked', true);
|
||||
$('#' + Read + 'Account').prop('checked', true);
|
||||
$('#' + Delete + 'Account').prop('checked', true);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user