[ADD] Security model Hotel

This commit is contained in:
Dario Lodeiros
2019-03-10 11:15:00 +01:00
parent 45bebfaf8d
commit b5c2b3bb39

View File

@@ -1,20 +1,58 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_hotel_floor,access_hotel_floor,model_hotel_floor,base.group_user,1,0,0,0
access_hotel_amenity,access_hotel_amenity,model_hotel_amenity,base.group_user,1,0,0,0
access_hotel_amenity_type,access_hotel_amenity_type,model_hotel_amenity_type,base.group_user,1,0,0,0
access_hotel_service,access_hotel_service,model_hotel_service,base.group_user,1,0,0,0
access_hotel_room_type_restriction,access_hotel_room_type_restriction,model_hotel_room_type_restriction,base.group_user,1,0,0,0
access_hotel_reservation_line,access_hotel_reservation_line,model_hotel_reservation_line,base.group_user,1,0,0,0
access_room_closure_reason,access_room_closure_reason,model_room_closure_reason,base.group_user,1,0,0,0
access_hotel_service_line,access_hotel_service_line,model_hotel_service_line,base.group_user,1,0,0,0
access_hotel_board_service,access_hotel_board_service,model_hotel_board_service,base.group_user,1,0,0,0
access_hotel_checkin_partner,access_hotel_checkin_partner,model_hotel_checkin_partner,base.group_user,1,0,0,0
access_hotel_room_type_class,access_hotel_room_type_class,model_hotel_room_type_class,base.group_user,1,0,0,0
access_hotel_room,access_hotel_room,model_hotel_room,base.group_user,1,0,0,0
access_hotel_room_type_restriction_item,access_hotel_room_type_restriction_item,model_hotel_room_type_restriction_item,base.group_user,1,0,0,0
access_hotel_reservation,access_hotel_reservation,model_hotel_reservation,base.group_user,1,0,0,0
access_hotel_folio,access_hotel_folio,model_hotel_folio,base.group_user,1,0,0,0
access_hotel_room_type,access_hotel_room_type,model_hotel_room_type,base.group_user,1,0,0,0
access_hotel_board_service_room_type,access_hotel_board_service_room_type,model_hotel_board_service_room_type,base.group_user,1,0,0,0
access_hotel_board_service_room_type_line,access_hotel_board_service_room_type_line,model_hotel_board_service_room_type_line,base.group_user,1,0,0,0
access_hotel_board_service_line,access_hotel_board_service_line,model_hotel_board_service_line,base.group_user,1,0,0,0
access_hotel_floor,access_hotel_floor,model_hotel_floor,hotel.group_hotel_user,1,0,0,0
access_hotel_amenity,access_hotel_amenity,model_hotel_amenity,hotel.group_hotel_user,1,0,0,0
access_hotel_amenity_type,access_hotel_amenity_type,model_hotel_amenity_type,hotel.group_hotel_user,1,0,0,0
access_hotel_service,access_hotel_service,model_hotel_service,hotel.group_hotel_user,1,1,1,1
access_hotel_room_type_restriction,access_hotel_room_type_restriction,model_hotel_room_type_restriction,hotel.group_hotel_user,1,0,0,0
access_hotel_reservation_line,access_hotel_reservation_line,model_hotel_reservation_line,hotel.group_hotel_user,1,1,1,1
access_room_closure_reason,access_room_closure_reason,model_room_closure_reason,hotel.group_hotel_user,1,0,0,0
access_hotel_service_line,access_hotel_service_line,model_hotel_service_line,hotel.group_hotel_user,1,1,1,1
access_hotel_board_service,access_hotel_board_service,model_hotel_board_service,hotel.group_hotel_user,1,0,0,0
access_hotel_checkin_partner,access_hotel_checkin_partner,model_hotel_checkin_partner,hotel.group_hotel_user,1,1,1,1
access_hotel_room_type_class,access_hotel_room_type_class,model_hotel_room_type_class,hotel.group_hotel_user,1,0,0,0
access_hotel_room,access_hotel_room,model_hotel_room,hotel.group_hotel_user,1,0,0,0
access_hotel_room_type_restriction_item,access_hotel_room_type_restriction_item,model_hotel_room_type_restriction_item,hotel.group_hotel_user,1,0,0,0
access_hotel_reservation,access_hotel_reservation,model_hotel_reservation,hotel.group_hotel_user,1,1,1,1
access_hotel_folio,access_hotel_folio,model_hotel_folio,hotel.group_hotel_user,1,1,1,1
access_hotel_room_type,access_hotel_room_type,model_hotel_room_type,hotel.group_hotel_user,1,0,0,0
access_hotel_board_service_room_type,access_hotel_board_service_room_type,model_hotel_board_service_room_type,hotel.group_hotel_user,1,0,0,0
access_hotel_board_service_room_type_line,access_hotel_board_service_room_type_line,model_hotel_board_service_room_type_line,hotel.group_hotel_user,1,0,0,0
access_hotel_board_service_line,access_hotel_board_service_line,model_hotel_board_service_line,hotel.group_hotel_user,1,0,0,0
access_hotel_floor,access_hotel_floor,model_hotel_floor,hotel.group_hotel_manager,1,1,1,1
access_hotel_amenity,access_hotel_amenity,model_hotel_amenity,hotel.group_hotel_manager,1,1,1,1
access_hotel_amenity_type,access_hotel_amenity_type,model_hotel_amenity_type,hotel.group_hotel_manager,1,1,1,1
access_hotel_service,access_hotel_service,model_hotel_service,hotel.group_hotel_manager,1,1,1,1
access_hotel_room_type_restriction,access_hotel_room_type_restriction,model_hotel_room_type_restriction,hotel.group_hotel_manager,1,1,1,1
access_hotel_reservation_line,access_hotel_reservation_line,model_hotel_reservation_line,hotel.group_hotel_manager,1,1,1,1
access_room_closure_reason,access_room_closure_reason,model_room_closure_reason,hotel.group_hotel_manager,1,1,1,1
access_hotel_service_line,access_hotel_service_line,model_hotel_service_line,hotel.group_hotel_manager,1,1,1,1
access_hotel_board_service,access_hotel_board_service,model_hotel_board_service,hotel.group_hotel_manager,1,1,1,1
access_hotel_checkin_partner,access_hotel_checkin_partner,model_hotel_checkin_partner,hotel.group_hotel_manager,1,1,1,1
access_hotel_room_type_class,access_hotel_room_type_class,model_hotel_room_type_class,hotel.group_hotel_manager,1,1,1,1
access_hotel_room,access_hotel_room,model_hotel_room,hotel.group_hotel_manager,1,1,1,1
access_hotel_room_type_restriction_item,access_hotel_room_type_restriction_item,model_hotel_room_type_restriction_item,hotel.group_hotel_manager,1,1,1,1
access_hotel_reservation,access_hotel_reservation,model_hotel_reservation,hotel.group_hotel_manager,1,1,1,1
access_hotel_folio,access_hotel_folio,model_hotel_folio,hotel.group_hotel_manager,1,1,1,1
access_hotel_room_type,access_hotel_room_type,model_hotel_room_type,hotel.group_hotel_manager,1,1,1,1
access_hotel_board_service_room_type,access_hotel_board_service_room_type,model_hotel_board_service_room_type,hotel.group_hotel_manager,1,1,1,1
access_hotel_board_service_room_type_line,access_hotel_board_service_room_type_line,model_hotel_board_service_room_type_line,hotel.group_hotel_manager,1,1,1,1
access_hotel_board_service_line,access_hotel_board_service_line,model_hotel_board_service_line,hotel.group_hotel_manager,1,1,1,1
access_hotel_floor,access_hotel_floor,model_hotel_floor,hotel.group_hotel_call,1,0,0,0
access_hotel_amenity,access_hotel_amenity,model_hotel_amenity,hotel.group_hotel_call,1,0,0,0
access_hotel_amenity_type,access_hotel_amenity_type,model_hotel_amenity_type,hotel.group_hotel_call,1,0,0,0
access_hotel_service,access_hotel_service,model_hotel_service,hotel.group_hotel_call,1,1,1,1
access_hotel_room_type_restriction,access_hotel_room_type_restriction,model_hotel_room_type_restriction,hotel.group_hotel_call,1,0,0,0
access_hotel_reservation_line,access_hotel_reservation_line,model_hotel_reservation_line,hotel.group_hotel_call,1,1,1,1
access_room_closure_reason,access_room_closure_reason,model_room_closure_reason,hotel.group_hotel_call,1,0,0,0
access_hotel_service_line,access_hotel_service_line,model_hotel_service_line,hotel.group_hotel_call,1,1,1,1
access_hotel_board_service,access_hotel_board_service,model_hotel_board_service,hotel.group_hotel_call,1,0,0,0
access_hotel_checkin_partner,access_hotel_checkin_partner,model_hotel_checkin_partner,hotel.group_hotel_call,1,1,1,1
access_hotel_room_type_class,access_hotel_room_type_class,model_hotel_room_type_class,hotel.group_hotel_call,1,0,0,0
access_hotel_room,access_hotel_room,model_hotel_room,hotel.group_hotel_call,1,0,0,0
access_hotel_room_type_restriction_item,access_hotel_room_type_restriction_item,model_hotel_room_type_restriction_item,hotel.group_hotel_call,1,0,0,0
access_hotel_reservation,access_hotel_reservation,model_hotel_reservation,hotel.group_hotel_call,1,1,1,1
access_hotel_folio,access_hotel_folio,model_hotel_folio,hotel.group_hotel_call,1,1,1,1
access_hotel_room_type,access_hotel_room_type,model_hotel_room_type,hotel.group_hotel_call,1,0,0,0
access_hotel_board_service_room_type,access_hotel_board_service_room_type,model_hotel_board_service_room_type,hotel.group_hotel_call,1,0,0,0
access_hotel_board_service_room_type_line,access_hotel_board_service_room_type_line,model_hotel_board_service_room_type_line,hotel.group_hotel_call,1,0,0,0
access_hotel_board_service_line,access_hotel_board_service_line,model_hotel_board_service_line,hotel.group_hotel_call,1,0,0,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_hotel_floor access_hotel_floor model_hotel_floor base.group_user hotel.group_hotel_user 1 0 0 0
3 access_hotel_amenity access_hotel_amenity model_hotel_amenity base.group_user hotel.group_hotel_user 1 0 0 0
4 access_hotel_amenity_type access_hotel_amenity_type model_hotel_amenity_type base.group_user hotel.group_hotel_user 1 0 0 0
5 access_hotel_service access_hotel_service model_hotel_service base.group_user hotel.group_hotel_user 1 0 1 0 1 0 1
6 access_hotel_room_type_restriction access_hotel_room_type_restriction model_hotel_room_type_restriction base.group_user hotel.group_hotel_user 1 0 0 0
7 access_hotel_reservation_line access_hotel_reservation_line model_hotel_reservation_line base.group_user hotel.group_hotel_user 1 0 1 0 1 0 1
8 access_room_closure_reason access_room_closure_reason model_room_closure_reason base.group_user hotel.group_hotel_user 1 0 0 0
9 access_hotel_service_line access_hotel_service_line model_hotel_service_line base.group_user hotel.group_hotel_user 1 0 1 0 1 0 1
10 access_hotel_board_service access_hotel_board_service model_hotel_board_service base.group_user hotel.group_hotel_user 1 0 0 0
11 access_hotel_checkin_partner access_hotel_checkin_partner model_hotel_checkin_partner base.group_user hotel.group_hotel_user 1 0 1 0 1 0 1
12 access_hotel_room_type_class access_hotel_room_type_class model_hotel_room_type_class base.group_user hotel.group_hotel_user 1 0 0 0
13 access_hotel_room access_hotel_room model_hotel_room base.group_user hotel.group_hotel_user 1 0 0 0
14 access_hotel_room_type_restriction_item access_hotel_room_type_restriction_item model_hotel_room_type_restriction_item base.group_user hotel.group_hotel_user 1 0 0 0
15 access_hotel_reservation access_hotel_reservation model_hotel_reservation base.group_user hotel.group_hotel_user 1 0 1 0 1 0 1
16 access_hotel_folio access_hotel_folio model_hotel_folio base.group_user hotel.group_hotel_user 1 0 1 0 1 0 1
17 access_hotel_room_type access_hotel_room_type model_hotel_room_type base.group_user hotel.group_hotel_user 1 0 0 0
18 access_hotel_board_service_room_type access_hotel_board_service_room_type model_hotel_board_service_room_type base.group_user hotel.group_hotel_user 1 0 0 0
19 access_hotel_board_service_room_type_line access_hotel_board_service_room_type_line model_hotel_board_service_room_type_line base.group_user hotel.group_hotel_user 1 0 0 0
20 access_hotel_board_service_line access_hotel_board_service_line model_hotel_board_service_line base.group_user hotel.group_hotel_user 1 0 0 0
21 access_hotel_floor access_hotel_floor model_hotel_floor hotel.group_hotel_manager 1 1 1 1
22 access_hotel_amenity access_hotel_amenity model_hotel_amenity hotel.group_hotel_manager 1 1 1 1
23 access_hotel_amenity_type access_hotel_amenity_type model_hotel_amenity_type hotel.group_hotel_manager 1 1 1 1
24 access_hotel_service access_hotel_service model_hotel_service hotel.group_hotel_manager 1 1 1 1
25 access_hotel_room_type_restriction access_hotel_room_type_restriction model_hotel_room_type_restriction hotel.group_hotel_manager 1 1 1 1
26 access_hotel_reservation_line access_hotel_reservation_line model_hotel_reservation_line hotel.group_hotel_manager 1 1 1 1
27 access_room_closure_reason access_room_closure_reason model_room_closure_reason hotel.group_hotel_manager 1 1 1 1
28 access_hotel_service_line access_hotel_service_line model_hotel_service_line hotel.group_hotel_manager 1 1 1 1
29 access_hotel_board_service access_hotel_board_service model_hotel_board_service hotel.group_hotel_manager 1 1 1 1
30 access_hotel_checkin_partner access_hotel_checkin_partner model_hotel_checkin_partner hotel.group_hotel_manager 1 1 1 1
31 access_hotel_room_type_class access_hotel_room_type_class model_hotel_room_type_class hotel.group_hotel_manager 1 1 1 1
32 access_hotel_room access_hotel_room model_hotel_room hotel.group_hotel_manager 1 1 1 1
33 access_hotel_room_type_restriction_item access_hotel_room_type_restriction_item model_hotel_room_type_restriction_item hotel.group_hotel_manager 1 1 1 1
34 access_hotel_reservation access_hotel_reservation model_hotel_reservation hotel.group_hotel_manager 1 1 1 1
35 access_hotel_folio access_hotel_folio model_hotel_folio hotel.group_hotel_manager 1 1 1 1
36 access_hotel_room_type access_hotel_room_type model_hotel_room_type hotel.group_hotel_manager 1 1 1 1
37 access_hotel_board_service_room_type access_hotel_board_service_room_type model_hotel_board_service_room_type hotel.group_hotel_manager 1 1 1 1
38 access_hotel_board_service_room_type_line access_hotel_board_service_room_type_line model_hotel_board_service_room_type_line hotel.group_hotel_manager 1 1 1 1
39 access_hotel_board_service_line access_hotel_board_service_line model_hotel_board_service_line hotel.group_hotel_manager 1 1 1 1
40 access_hotel_floor access_hotel_floor model_hotel_floor hotel.group_hotel_call 1 0 0 0
41 access_hotel_amenity access_hotel_amenity model_hotel_amenity hotel.group_hotel_call 1 0 0 0
42 access_hotel_amenity_type access_hotel_amenity_type model_hotel_amenity_type hotel.group_hotel_call 1 0 0 0
43 access_hotel_service access_hotel_service model_hotel_service hotel.group_hotel_call 1 1 1 1
44 access_hotel_room_type_restriction access_hotel_room_type_restriction model_hotel_room_type_restriction hotel.group_hotel_call 1 0 0 0
45 access_hotel_reservation_line access_hotel_reservation_line model_hotel_reservation_line hotel.group_hotel_call 1 1 1 1
46 access_room_closure_reason access_room_closure_reason model_room_closure_reason hotel.group_hotel_call 1 0 0 0
47 access_hotel_service_line access_hotel_service_line model_hotel_service_line hotel.group_hotel_call 1 1 1 1
48 access_hotel_board_service access_hotel_board_service model_hotel_board_service hotel.group_hotel_call 1 0 0 0
49 access_hotel_checkin_partner access_hotel_checkin_partner model_hotel_checkin_partner hotel.group_hotel_call 1 1 1 1
50 access_hotel_room_type_class access_hotel_room_type_class model_hotel_room_type_class hotel.group_hotel_call 1 0 0 0
51 access_hotel_room access_hotel_room model_hotel_room hotel.group_hotel_call 1 0 0 0
52 access_hotel_room_type_restriction_item access_hotel_room_type_restriction_item model_hotel_room_type_restriction_item hotel.group_hotel_call 1 0 0 0
53 access_hotel_reservation access_hotel_reservation model_hotel_reservation hotel.group_hotel_call 1 1 1 1
54 access_hotel_folio access_hotel_folio model_hotel_folio hotel.group_hotel_call 1 1 1 1
55 access_hotel_room_type access_hotel_room_type model_hotel_room_type hotel.group_hotel_call 1 0 0 0
56 access_hotel_board_service_room_type access_hotel_board_service_room_type model_hotel_board_service_room_type hotel.group_hotel_call 1 0 0 0
57 access_hotel_board_service_room_type_line access_hotel_board_service_room_type_line model_hotel_board_service_room_type_line hotel.group_hotel_call 1 0 0 0
58 access_hotel_board_service_line access_hotel_board_service_line model_hotel_board_service_line hotel.group_hotel_call 1 0 0 0