implemented front page content management, finally wired up the user locale
and timezone default mechanism, and did some other bugfixing and stuff
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* WARRANTY OF ANY KIND, either express or implied. See the License for the specific
|
||||
* language governing rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is the Venice Web Community System.
|
||||
* The Original Code is the Venice Web Communities System.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
|
||||
* for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
||||
@@ -19,7 +19,8 @@ package com.silverwrist.venice.security;
|
||||
|
||||
public interface Audit
|
||||
{
|
||||
// Codes 0-100 - System events
|
||||
// Codes 1-100 - System events
|
||||
public static final int PUBLISH_POST = 1;
|
||||
|
||||
// Codes 101-200 - Login/user events
|
||||
public static final int LOGIN_OK = 101;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* WARRANTY OF ANY KIND, either express or implied. See the License for the specific
|
||||
* language governing rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is the Venice Web Community System.
|
||||
* The Original Code is the Venice Web Communities System.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
|
||||
* for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
||||
@@ -103,4 +103,10 @@ public class Capability implements SecLevels
|
||||
|
||||
} // end canAdministerSystem
|
||||
|
||||
public static boolean canPublishToFrontPage(int level)
|
||||
{
|
||||
return (level>=GLOBAL_ANYADMIN);
|
||||
|
||||
} // end canPublishToFrontPage
|
||||
|
||||
} // end class Capability
|
||||
|
||||
Reference in New Issue
Block a user