Delete permission for Event doctype to System Manager
This commit is contained in:
parent
56cc209a8d
commit
201324244d
1 changed files with 42 additions and 41 deletions
|
|
@ -3,11 +3,11 @@
|
|||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-03-27 14:35:37',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-03-27 14:35:37',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
u'creation': '2012-05-03 19:03:22',
|
||||
u'docstatus': 0,
|
||||
u'modified': '2012-09-24 15:40:46',
|
||||
u'modified_by': u'Administrator',
|
||||
u'owner': u'Administrator'
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
|
|
@ -17,21 +17,21 @@
|
|||
'client_string': u'---intro_html---\n\n<div style="padding: 8px; background-color: #EEF; border: 1px solid #CCF; margin-bottom: 8px;">\n %(ref)s\n <a href="javascript:loadpage(\'_calendar\')">Go To Calendar</a>\n</div>\n\n---ref_html---\n\nReference : <a href="javascript:loaddoc(\'%(dt)s\', \'%(dn)s\')">%(dn)s</a><br><br>',
|
||||
'colour': u'White:FFF',
|
||||
'default_print_format': u'Standard',
|
||||
'doctype': 'DocType',
|
||||
u'doctype': u'DocType',
|
||||
'in_create': 1,
|
||||
'module': u'Core',
|
||||
'name': '__common__',
|
||||
u'name': u'__common__',
|
||||
'read_only': 1,
|
||||
'section_style': u'Tabbed',
|
||||
'server_code_error': u' ',
|
||||
'show_in_menu': 0,
|
||||
'version': 3
|
||||
'version': 1
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
'name': '__common__',
|
||||
u'doctype': u'DocField',
|
||||
u'name': u'__common__',
|
||||
'parent': u'Event',
|
||||
'parentfield': u'fields',
|
||||
'parenttype': u'DocType',
|
||||
|
|
@ -41,8 +41,8 @@
|
|||
# These values are common for all DocPerm
|
||||
{
|
||||
'create': 1,
|
||||
'doctype': u'DocPerm',
|
||||
'name': '__common__',
|
||||
u'doctype': u'DocPerm',
|
||||
u'name': u'__common__',
|
||||
'parent': u'Event',
|
||||
'parentfield': u'permissions',
|
||||
'parenttype': u'DocType',
|
||||
|
|
@ -53,25 +53,13 @@
|
|||
|
||||
# DocType, Event
|
||||
{
|
||||
'doctype': 'DocType',
|
||||
'name': u'Event'
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'role': u'All'
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'doctype': u'DocPerm',
|
||||
'role': u'Administrator'
|
||||
u'doctype': u'DocType',
|
||||
u'name': u'Event'
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'details',
|
||||
'fieldtype': u'Section Break',
|
||||
'label': u'Details',
|
||||
|
|
@ -80,7 +68,7 @@
|
|||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'intro_html',
|
||||
'fieldtype': u'HTML',
|
||||
'label': u'Intro HTML',
|
||||
|
|
@ -89,7 +77,7 @@
|
|||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'event_date',
|
||||
'fieldtype': u'Date',
|
||||
'label': u'Event Date',
|
||||
|
|
@ -101,7 +89,7 @@
|
|||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'event_hour',
|
||||
'fieldtype': u'Time',
|
||||
'label': u'Event Time',
|
||||
|
|
@ -113,7 +101,7 @@
|
|||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'event_name',
|
||||
'fieldtype': u'Data',
|
||||
'hidden': 1,
|
||||
|
|
@ -126,7 +114,7 @@
|
|||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'description',
|
||||
'fieldtype': u'Text',
|
||||
'label': u'Description',
|
||||
|
|
@ -139,7 +127,7 @@
|
|||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'notes',
|
||||
'fieldtype': u'Text',
|
||||
'label': u'Notes',
|
||||
|
|
@ -151,7 +139,7 @@
|
|||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'event_type',
|
||||
'fieldtype': u'Select',
|
||||
'label': u'Event Type',
|
||||
|
|
@ -164,7 +152,7 @@
|
|||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'participants',
|
||||
'fieldtype': u'Section Break',
|
||||
'label': u'Participants',
|
||||
|
|
@ -173,7 +161,7 @@
|
|||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'individuals',
|
||||
'fieldtype': u'Column Break',
|
||||
'label': u'Individuals',
|
||||
|
|
@ -183,7 +171,7 @@
|
|||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'event_individuals',
|
||||
'fieldtype': u'Table',
|
||||
'label': u'Event Individuals',
|
||||
|
|
@ -196,7 +184,7 @@
|
|||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'groups',
|
||||
'fieldtype': u'Column Break',
|
||||
'label': u'Groups',
|
||||
|
|
@ -206,7 +194,7 @@
|
|||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'event_roles',
|
||||
'fieldtype': u'Table',
|
||||
'label': u'Event Roles',
|
||||
|
|
@ -219,7 +207,7 @@
|
|||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'ref_type',
|
||||
'fieldtype': u'Data',
|
||||
'hidden': 0,
|
||||
|
|
@ -232,7 +220,7 @@
|
|||
|
||||
# DocField
|
||||
{
|
||||
'doctype': u'DocField',
|
||||
u'doctype': u'DocField',
|
||||
'fieldname': u'ref_name',
|
||||
'fieldtype': u'Data',
|
||||
'hidden': 0,
|
||||
|
|
@ -241,5 +229,18 @@
|
|||
'oldfieldname': u'ref_name',
|
||||
'oldfieldtype': u'Data',
|
||||
'search_index': 0
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
u'doctype': u'DocPerm',
|
||||
'role': u'All'
|
||||
},
|
||||
|
||||
# DocPerm
|
||||
{
|
||||
'cancel': 1,
|
||||
u'doctype': u'DocPerm',
|
||||
'role': u'System Manager'
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Reference in a new issue