For users with "view", the website table wouldn't be editable.
see also #526
Moving this to 0.6. Access to #42 ("exclude visits by cookie") should be incorporated into the SitesManager UI.
For displaying the javascrit code, i utilize the existing SitesManager module. For non-Admin user i disable the SitesManager-Navigation.
See attached Screenshot and patch.
Would this an adequate solution for this ticket?
Ok, i see.
So it's changing #526:
"- for user with 'view', only show the "My Profile" tab"
"- for user with 'view', show the "My Profile" and "Websites" tab".
There are two further questions for me:
For the view-only user the table's content it's clear: "For users with "view", the website table wouldn't be editable."
But I can't find anything about the editing by an admin user. Currently it's behaving strange (Edit is clickable, just site name is changeable, but changes can't be saved).
How should the table editing/deleting behave for an admin user?
I assume: For multi sites a user can have view access to one site as well as admin access to another site. Am i right?
If yes: Should view and admin sites mixed into one table? Or do you like to provide seperate tables? Shurely it depends whether the interaction of view and admin user will be different or not. If not, the sites could simply shown in one table.
I think that it could be like:
If the edit website screen does not work for you, it is a bug in Piwik. It works for us in 0.5.5 and 0.6-rc1 (edit name / URLs / etc. and click the green button to update).
There is no difference in how view or admin websites are handled in all the web analytics reports: they behave exactly the same.
Currently as of Piwik 2.0 the Tracking Code page is listed when the user has at least Admin permission to one website. Seems right.