dugugang / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

'Call Detail Records' page traces appear even if 'Call Detail Records' menu is hidden #115

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
(Maybe this one is related to Issue 114, I don't know.)

What steps will reproduce the problem?
1. Login as superadmin.
2. Goto Advanced->Group Manager.
3. Check the 'xml_cdr_view' checkbox in the 'user' group permissions.
4. Press 'Save' button.
5. Goto System->Menu Manager.
6. Remove the group 'user' from the menu 'Call Detail Records' 'Groups:' list.
7. Press 'Save' button.
8. Login as a user of group 'user'.
9. Click 'Apps' menu.

What is the expected output? What do you see instead?
The 'Call Detail Records' page title and text description as well as the Call 
Details Records table header are shown.
The 'Direction', 'CID Name', etc. fields as well as the Call Detail Records 
table contents is hidden.

I assume that no 'Call Detail Records' page traces should be shown at all.

What version of the product are you using? On what operating system?
r1253, lubuntu 11.04.

Original issue reported on code.google.com by Vitaly.T...@gmail.com on 19 Jun 2011 at 4:27

GoogleCodeExporter commented 9 years ago
I'm using Ubuntu 10.04 and when I unchecked 'xml_cdr_view' from the 'XML CDR' 
section then logged out and back in as a user I see only 'access denied'.

When you are changing permissions you have to make sure that the session is 
cleared. You can do this by going to /logout.php which clears all session info.

The other thing to check is to make sure that the user is only in one group. 
Permissions are cumulative.

Original comment by markjcrane@gmail.com on 21 Jun 2011 at 12:55

GoogleCodeExporter commented 9 years ago
Could not duplicate this on the same operating system. My guess is that the 
user is a member of another group or the session was not cleared.

Original comment by markjcrane@gmail.com on 21 Jun 2011 at 1:09

GoogleCodeExporter commented 9 years ago
Hmm, I'm really confused. 
It looks like I really did something wrong when filing this bug. Sorry for the 
false alarm.

Original comment by Vitaly.T...@gmail.com on 21 Jun 2011 at 7:44