This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 240257 - [80cat] Create Assignment for Tribe Members Failed (Permissions)
Summary: [80cat] Create Assignment for Tribe Members Failed (Permissions)
Status: VERIFIED FIXED
Alias: None
Product: qa
Classification: Unclassified
Component: Synergy (show other bugs)
Version: 8.0
Hardware: PC Windows 8
: P3 normal (vote)
Assignee: Vladimir Riha
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-11 00:44 UTC by Lou Dasaro
Modified: 2014-01-28 07:01 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Create New Assignment for tribe members failure notice and work in progress (333.89 KB, image/jpeg)
2014-01-11 00:44 UTC, Lou Dasaro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lou Dasaro 2014-01-11 00:44:51 UTC
Created attachment 143818 [details]
Create New Assignment for tribe members failure notice and work in progress

Create New Assignment for tribe members failed. Bad News.
I entered in ten assignments, clicked "Save" and received error message "
Action failed Not allowed You don't have permissions for this action
Fri Jan 10 2014 18:38:14 GMT-0600 (Central Standard Time)"
Comment 1 Vladimir Riha 2014-01-11 08:32:35 UTC
Does is still happen? I cannot reproduce it.
Comment 2 Lou Dasaro 2014-01-11 08:58:59 UTC
I appears to have been fixed. Something changed. Either someone fixed my permissions or something else was blocking me from creating assignments. I am able to create them now. I guess for delete assignments, I must ask an administrator...

Thanks Lada and Jirka!
Comment 3 Vladimir Riha 2014-01-11 09:06:51 UTC
Thank you for confirmation. My guess is you encountered a bit of "race" condition when server and client sessions were not synced in time of submitting the data but they were in time of loading the form. Reloading the page would help.

And yes, only managers can delete assignments.
Comment 4 Lou Dasaro 2014-01-11 09:23:04 UTC
>> "Reloading the page would help."
Not after making ten assignments am I going to reload the page. I just pressed "Save" and it worked. 

Would a race condition cause me to receive a "Permissions" error? Strange.
Comment 5 Vladimir Riha 2014-01-11 12:43:37 UTC
The problem (likely) was that at the time you loaded the page, you had active session on server and based on information from this session, server returned list of tribes etc. to populate the form. But at the time of clicking on Save button, session on server no longer existed so you got the permission issue. On each page reload, server checks netbeans.org SSO (which takes longer time) and if OK, creates a session (if not already). So page reload would force server to re-check SSO and re-create session on server. I'll look how to improve it a bit to avoid this.
Comment 6 Lou Dasaro 2014-01-12 02:18:30 UTC
Reload solved it, as documented. Changed priority to 3, since it is no longer a blocker for me. Also changed this to an Enhancement to improve "Create New Assignment" as Mr. Riha documented in Comment #5
Comment 7 Vladimir Riha 2014-01-15 11:13:00 UTC
Should be fixed in #547. When server session expires, it automatically checks if you are logged in in netbeans.org and if so, silently re-creates session.