head	1.4;
access;
symbols;
locks; strict;
comment	@# @;


1.4
date	2000.03.13.17.39.51;	author bernie;	state Exp;
branches;
next	1.3;

1.3
date	2000.03.08.12.11.43;	author bernie;	state Exp;
branches;
next	1.2;

1.2
date	2000.02.21.13.17.11;	author bernie;	state Exp;
branches;
next	1.1;

1.1
date	2000.02.02.21.13.29;	author bernie;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Added comments for user_admin role and corrected some typos.
@
text
@## This file contains the permissions with the roles
## assigned to. This file is used as input by
## "create_MySQL_insert_script_for_access_rights.perl"
##
## Use the following syntax:
## permission:role11,role2,role3, ...
## e.g. add_topic:root, admin, authenticated_user
## 
## The following roles are defined: 
## - root: Role with all Permissions
## - user_admin: Role which handles the user administration
## - admin: Role with all Permissions from Jyve, but
##          NOT from Turbine (add_/modify_user/group/permissions) 
## - trusted_user: Role which can be assigned more Permissions
##                (e.g. add_*, modify_*, ...)
## - authenticated_user: Default role for users with a valid email address
##                       (e.g. add only Permission)
## - guest: Role with no special Permission (can only see the entries)
##
## Please make sure, that you use only defined roles, it won't give
## you any warning about this.
##
## date created:  21. Jan. 2000
## last modified: 06. Mar. 2000
## author:       Bernie Hoeneisen, ETH Zurich <bhoeneis@@ee.ethz.ch>
##

# add_*
add_project:   root, admin, trusted_user
add_faq:       root, admin, trusted_user
add_topic:     root, admin, trusted_user
add_question:  root, admin, trusted_user
add_answer:    root, admin, trusted_user

# add_unreleased_*
add_unreleased_project:   root, admin, trusted_user, authenticated_user
add_unreleased_faq:       root, admin, trusted_user, authenticated_user
add_unreleased_topic:     root, admin, trusted_user, authenticated_user
add_unreleased_question:  root, admin, trusted_user, authenticated_user
add_unreleased_answer:    root, admin, trusted_user, authenticated_user

# modify_*
modify_project:   root, admin, trusted_user
modify_faq:       root, admin, trusted_user
modify_topic:     root, admin, trusted_user
modify_question:  root, admin, trusted_user
modify_answer:    root, admin, trusted_user

# modify_own_*
modify_own_project:   root, admin, trusted_user
modify_own_faq:       root, admin, trusted_user
modify_own_topic:     root, admin, trusted_user
modify_own_question:  root, admin, trusted_user
modify_own_answer:    root, admin, trusted_user

# modify_own_unreleased_*
modify_own_unreleased_project:   root, admin, trusted_user, authenticated_user
modify_own_unreleased_faq:       root, admin, trusted_user, authenticated_user
modify_own_unreleased_topic:     root, admin, trusted_user, authenticated_user
modify_own_unreleased_question:  root, admin, trusted_user, authenticated_user
modify_own_unreleased_answer:    root, admin, trusted_user, authenticated_user

# see_unreleased_*
see_unreleased_project:   root, admin, trusted_user
see_unreleased_faq:       root, admin, trusted_user
see_unreleased_topic:     root, admin, trusted_user
see_unreleased_question:  root, admin, trusted_user
see_unreleased_answer:    root, admin, trusted_user

# release_*
release_project:   root, admin
release_faq:       root, admin
release_topic:     root, admin
release_question:  root, admin
release_answer:    root, admin

@


1.3
log
@New: feature for moderation
- New permissions: add_unreleased_*, modify_own_unreleased_*,
                   see_unreleased_*, release_*
- New classes:
  - actions/Release, Release*: sets an entry released in the
    database (if corresponding release_* permission granted)
  - screens/DisplayUnreleased: Show all UNreleased entries,
    (depending on permissions)
- Unreleased entries are usually displayed with different color.
- Release button, if corresponding release_* permission granted.
- Updated SQL insert scripts (only for MySQL)
- Updated all other affected classes

New: Some colors can be customized in TurbineResources.properties.

Change: localization string for consistency
- DISPLAYPROJECTS_MODIFYPRJ -> DISPLAYPROJECTS_MODIFY

Bug fix: SearchResults
- Sort out duplicates (Before an entry appeared twice,
  if e.g. the search string was found in two answers
  of the same question)
@
text
@d5 1
a5 1
## Use the followinf syntax:
d7 1
a7 1
## e.g. add_topic:root, admin,authenticated_user
d11 1
d14 1
a14 1
## - trusted_user: Role which can be assigned more Permsissions
d16 1
a16 1
## - authenticated_user: Default role for users with a vadid email address
@


1.2
log
@Update for new permissions modify_own_*
@
text
@d22 2
a23 1
## date created: 21. Jan. 2000
d28 12
a39 5
add_project:   root, admin, authenticated_user
add_faq:       root, admin, authenticated_user
add_topic:     root, admin, authenticated_user
add_question:  root, admin, authenticated_user
add_answer:    root, admin, authenticated_user
d42 5
a46 5
modify_project:   root, admin
modify_faq:       root, admin
modify_topic:     root, admin
modify_question:  root, admin
modify_answer:    root, admin
d49 27
a75 5
modify_own_project:   root, admin, authenticated_user
modify_own_faq:       root, admin, authenticated_user
modify_own_topic:     root, admin, authenticated_user
modify_own_question:  root, admin, authenticated_user
modify_own_answer:    root, admin, authenticated_user@


1.1
log
@Database prepartions for new security feature
@
text
@d39 7
@

