I apologise for bad English. Situation such. For the user (authenticated user) the permission "hide personal comments" is marked. The user in the record has noted one of comments as "hide", accordingly the comment has been hidden. However this user cannot return the comment. At transition under the reference "show" appears:

"Access denied
You are not authorised to access this page".

It turns out that "show" the administrator can make only. It is normal?

Comments

jcisio’s picture

Title: Not to make "show" » Unauthorized user can see the "show" link
Version: 6.x-1.3 » 6.x-1.x-dev

It turns out that "show" the administrator can make only. It is normal?

It's the expected behavior. User needs "administer hidden comments" permission to unhide (or to "override" the hide action).

It's a bug that the link is displayed.

snupy’s picture

User needs "administer hidden comments" permission to unhide

Such option is not present.

jcisio’s picture

There is such a permission. I don't remember if it was correctly implemented or not, but it was implemented.

jcisio’s picture

Status: Active » Fixed

Fixed this issue in CVS for both 6.x and 7.x branches. Introduce a new permission.

snupy’s picture

7.x-1.x-dev version (from 2011-Feb-07) incorrectly works. It at all does not work.

jcisio’s picture

Not a useful feedback for me. I always test in at least a website before committing code.

snupy’s picture

Excuse, has now tried on pure Drupal, all works. Before some modules, probably have been established, there were conflicts.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.