Using demo site i tried to create ticket as "admin". I set "bar" as client and tried to subscribe "manager" to this ticket. User "foo" does not set anythere on creation form. But i get message "Unable to subscribe user, foo does not have permission to view this ticket." even if subscribe disabled at all.

CommentFileSizeAuthor
#1 support-ticket.zip3.81 KBfasdalf@fasdalf.ru

Comments

fasdalf@fasdalf.ru’s picture

StatusFileSize
new3.81 KB

Same for "manager"

jeremy’s picture

Status: Active » Postponed (maintainer needs more info)

I logged in as user admin, then created a ticket for Client 'Bar' and assigned 'Manager' to it without problems.

I do not understand the problem you are having. Please provide step by step instructions on what you've done and the exact problem.

fasdalf@fasdalf.ru’s picture

The steps are:
1. unzip attached html
2. go to node/add/ticket
3. fill the form as i did
4. click Submit.

There is attached html with page state and forms filled at very firs post. If you set a page exaclty as i did and do not see this error, then "hooray! it works!"

jeremy’s picture

Sorry, but the attached tarball doesn't appear to have a filled out ticket. Please type out what fields you have filled out, and what you have filled them out with. Or alternatively try taking a screenshot.

fasdalf@fasdalf.ru’s picture

Priority: Normal » Minor
Status: Postponed (maintainer needs more info) » Fixed

I can\t reproduce it again. Sorry.

Status: Fixed » Closed (fixed)

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

ronanrbr’s picture

Title: Unable to subscribe user on demo site. » Unable to subscribe user on demo site. AND my site.
Version: 6.x-1.2-rc1 » 6.x-1.8
Priority: Minor » Normal
Status: Closed (fixed) » Active

I can reproduce this error!
you log with admin or manager, and change "Client", (form's default is bar, then change to foo), then try post a new ticket!
this occurs just when "Notification" (admin/support/settings/general) is enabled.
then i disable "notification" and try, works fine and ok, then i enable notification again, when i try post a new ticket changing form's default "client" the error occurs again.
Resuming: when a new ticket is posted (without error occurs) the form assume last "client" post as default option, if "notification" is enable and you try change client, you can post the ticket receiving error: "Unable to subscribe user, %user does not have permission to view this ticket." because the form try subscribe a user can´t have perms, because the form don't know "client" was changed.

ronanrbr’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Outdated