Implement sensible default object access policies at the Crowd level (no
one can modify anything, a select few events are allowed on the body object by the body object's owner only). git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3553 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: CrowdClient.java,v 1.26 2004/10/01 22:04:18 mdb Exp $
|
||||
// $Id$
|
||||
//
|
||||
// Narya library - tools for developing networked games
|
||||
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
||||
@@ -48,6 +48,15 @@ public class CrowdClient extends PresentsClient
|
||||
}
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
protected void sessionWillStart ()
|
||||
{
|
||||
super.sessionWillStart();
|
||||
|
||||
// configure a specific access controller for the client object
|
||||
_clobj.setAccessController(CrowdObjectAccess.USER);
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
protected void sessionWillResume ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user