Sawmill

DOWNLOAD
SAWMILL 8.5.2
free trial!!
Home Products Downloads Purchase Support About About
Sawmill Sawmill

SAWMILLFORUM

Sawmill Discussion Forum

Subject: "Per User View Permissions"     Previous Topic | Next Topic
Printer-friendly copy    
Conferences Pre-Sales Topic #829
Reading Topic #829
john5
Member since Nov-16-11
1 posts
Nov-16-11, 02:29 AM (PDT)
Click to EMail john5 Click to send private message to john5 Click to view user profileClick to add this user to your buddy list  
"Per User View Permissions"
 
  
Hello,

I'm trying out Sawmill with Postfix logs and can't find feature where will be possible to define strict permissions for user viewing stats.

I want to define following:

- Department Manager can see only his employees stats, and himself.
- Employee can se only his own stats.

I think this can be done by creating filter for each user.
But is it possible to attach it permanently and do not allow this user to change it ?

I tried to add some rule in field Report filter in user properties:

(sasl_username matches 'emploee1|employee2|director')

But It seems not working at all.

Please show me which way can I achieve this

Greetings.
Lukasz


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote | Top
i21
Member since Mar-21-02
2323 posts
Nov-16-11, 09:13 AM (PDT)
Click to EMail i21 Click to view user profileClick to add this user to your buddy list  
1. "RE: Per User View Permissions"
In response to message #0
 
Hi Lukasz

You will not be able to do this with Lite, since it has no User Manager, no support for multiple profiles and you are not able to add log filters.

For Pro/Enterprise, you can add a new user account for each user and have a report filter for that user, provided you can craft a report filter that matches your requirement, so this will match all users starting with "sales_": (sasl_username matches 'sales_.*'), or you could build a larger filter like this: ((sasl_username within 'user1') or (sasl_username within 'user2') or (sasl_username within 'manager1')), 'within' is faster than 'matches', so try and use 'within' where you can. You should also take care with this option as you will have only one profile with all the data in and with large logs the reporting may be significantly slower than the approach below.

Or you can create a profile for each group (and have users able to access certain profiles)and use log filters (scales better/more manageable) and the log filter will be something like this: "if (sasl_username eq 'user1') then 'accept' else 'reject';", and you again can build up the filter for multiple users: "if ((sasl_username eq 'user1') or (sasl_username eq 'user1') or (sasl_username eq 'manager1')) then 'accept' else 'reject';"

I hope this helps.

Regards

Graham

Sawmill EMEA Support

Download : http://www.sawmill.co.uk/download

Purchase : http://www.sawmill.co.uk/purchase

Support : http://www.sawmill.co.uk/support

As well as sending in email to create/update tickets, you can create / edit / review / close your tickets on-line. If you do not yet have a password, use your email address and request a password reminder from the support page.


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote | Top
i21
Member since Mar-21-02
2323 posts
Nov-18-11, 06:59 AM (PDT)
Click to EMail i21 Click to view user profileClick to add this user to your buddy list  
2. "RE: Per User View Permissions"
In response to message #1
 
UPDATE

It turns out that the per-user-filter is an Enterprise only feature, I incorrectly stated that it was available in Pro, it isn't.

My Apologies.

Regards

Graham

Sawmill EMEA Support

Download : http://www.sawmill.co.uk/download

Purchase : http://www.sawmill.co.uk/purchase

Support : http://www.sawmill.co.uk/support

As well as sending in email to create/update tickets, you can create / edit / review / close your tickets on-line. If you do not yet have a password, use your email address and request a password reminder from the support page.


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote | Top

Conferences | Topics | Previous Topic | Next Topic
© 2011 Flowerfire | Copyright | Privacy Policy | License Agreement | Terms of Use | Contact | Feedback | About
Sawmill Software
Sawmill Software
Back to Sawmill Home