added page permissions, modified report listing links

This commit is contained in:
Anand Doshi
2012-10-04 18:11:29 +05:30
parent 278f93c941
commit cdba51c5a9
22 changed files with 492 additions and 167 deletions

View File

@@ -24,7 +24,8 @@
<h4><a href="#!List/Address">Address</a></h4>
<p class="help">Address Master</p>
<br>
<h4><a href="#purchase-analytics" data-role="Analytics">Purchase Analytics</a>
<h4><a href="#purchase-analytics" data-role="Analytics, Purchase Manager">
Purchase Analytics</a>
<span style="background-color: #fed; font-weight: normal; font-size: 80%">beta</span>
</h4>
<p class="help">Purchase trends based on Purchase Invoice</p>
@@ -49,6 +50,13 @@
title = "Supplier classification"
href="#!List/Supplier Type">Supplier Type</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Tree of item classification"
href="#!Sales Browser/Item Group"
data-role="Purchase Manager, Purchase Master Manager
Accounts Manager">Item Group</a>
</div>
<div class="section-item">
<a class="section-link"
title = "Helper for managing return of goods (sales or purchase)"

View File

@@ -3,9 +3,9 @@
# These values are common in all dictionaries
{
u'creation': '2012-09-21 15:21:10',
u'creation': '2012-09-21 20:15:16',
u'docstatus': 0,
u'modified': '2012-09-21 15:21:10',
u'modified': '2012-10-04 17:24:17',
u'modified_by': u'Administrator',
u'owner': u'Administrator'
},
@@ -20,9 +20,30 @@
'title': u'Purchase Analytics'
},
# These values are common for all Page Role
{
u'doctype': u'Page Role',
u'name': u'__common__',
'parent': u'purchase-analytics',
'parentfield': u'roles',
'parenttype': u'Page'
},
# Page, purchase-analytics
{
u'doctype': u'Page',
u'name': u'purchase-analytics'
},
# Page Role
{
u'doctype': u'Page Role',
'role': u'Analytics'
},
# Page Role
{
u'doctype': u'Page Role',
'role': u'Purchase Manager'
}
]