Comments (3)
See email exchange below for more details:
On Fri, Apr 23, 2010 at 11:56 AM, Babiuch, Ryan Nicholas (MU-Student) wrote:
Jonathan,
It looks as if every user I'm creating is created as a member of the admin
group even guest logins. I created
around 4 different users, 3 of which are in a "clients" group, and 1 of which
is in a "teachers" group. Logging in
with each of these accounts results in the print statement:
[java] Testing principal Principal{User: guest} for group teacher
[java] Testing principal Principal{Everybody: users} for group teacher
[java] Testing principal Principal{Group: admin} for group teacher
where guest could be any of these 4 accounts, admin, or a a nonauth'd guest.
If you get a chance, would you mind taking a look?
thanks!
Ryan
On Friday, April 23, 2010 at 11:37 PM, Jonathan Kaplan wrote:
I think this is a 1-liner (1 character even). I haven't had a chance to test
in-world, but I think it is a web
service bug introduced when we updated to a new version of Jersey. In
modules/tools/security-group, find
GroupsResource.java. Change the annotation at the top from:
@Path("/groups/")
to:
@Path("/groups")
That will fix querying groups per-member. You can test it out in a browser by
going to:
http://localhost:8080/security-groups/security-groups/resources/groups?user=<use
rid>
If you try without the fix, it will always return all the groups, because it
redirects to /groups/. If you put in the
fix, it should only return the groups that member is part of.
Let me know if this works for you, and I'll commit the fix.
-Jon
Original comment by [email protected]
on 26 Apr 2010 at 8:07
from openwonderland.
This issue was closed by revision r4413.
Original comment by [email protected]
on 26 Apr 2010 at 8:20
- Changed state: Fixed
from openwonderland.
This issue was updated by revision r4414.
Merge rev 4413 from trunk
Include fix for security group issues in preview 4
Original comment by [email protected]
on 26 Apr 2010 at 8:24
from openwonderland.
Related Issues (20)
- Commit Avatar Collision improvements (discussion needed) HOT 1
- Commit enhancements to audio system used by iSocial Sheets HOT 1
- Links in Posters open two copies of browser window HOT 1
- Clickable link problem when parent object has a link
- Best View does not work properly with containers
- Checkbox to have collada importer respect source mesh origin
- Inserted PDFs in portait orientation always have the bottom cut off
- Object drag and drop will hang the Wonderland client
- Softphone broken on Ubuntu 12.04 x86
- Security-Session-noauth is not getting uninstalled HOT 1
- Drag and drop of images fails from Firefox
- User list icons do not display properly on Macs
- Icons missing in Insert Object dialog
- PDF objects randomly resized on client logout -> login HOT 3
- PDF Viewer cannot render PDF with table of contents HOT 1
- Java 7u51 Complains about permission attribute in manifest and prevent the application from running HOT 4
- Client Test module is not working with the last SVN version HOT 2
- Client test graphics test always fail in a PC which is able to run the full Open Wonderland's experience HOT 3
- Wonderland on windows 7 HOT 1
- Open Wonderland client startup accelerate over internet.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openwonderland.