Members: 16,996
Threads: 38,845
Posts: 159,389
Online: 19

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > International > German - Deutsch > Mambo 4.5 Allgemein

Reply
 
LinkBack Thread Tools Display Modes
Old 27.02.2005, 20:40   #1 (permalink)
Day
Senior Mamber
 
Join Date: Apr 2004
Posts: 162
Day is on a distinguished road
Send a message via ICQ to Day
Exclamation Rechtevergabe nach Update 4.5.2.1

Hi Mambers,
seit dem wir auf 4.5.2.1 abgedatet haben, können Manager im Admin Bereich nicht mehr die Komponente sehen.
Obwohl wir in der gacl.class.php den wert hinzugefügt haben.

Hier die Datei:
PHP Code:
 USA
 
*
 * For 
questionshelpcommentsdiscussionetc., please join the
 
phpGACL mailing list. http://sourceforge.net/mail/?group_id=57103
 
*
 * 
You may contact the author of phpGACL by e-mail at:
 * 
ipso@snappymail.ca
 
*
 * 
The latest version of phpGACL can be obtained from:
 * 
http://phpgacl.sourceforge.net/
 
*
 */

/** ensure this file is being included by a parent file */
defined'_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

// NOTE, this is a temporary solution until phpGACL libraries are fully implemented

/* -- Code to manually add a group to the ARO Groups
SET @parent_name = 'Registered';
SET @new_name = 'Support';

-- Select the parent node to insert after
SELECT @ins_id := group_id, @ins_lft := lft, @ins_rgt := rgt
FROM mos_core_acl_aro_groups
WHERE name = @parent_name;

SELECT @new_id := MAX(group_id) + 1 FROM mos_core_acl_aro_groups;

-- Make room for the new node
UPDATE mos_core_acl_aro_groups SET rgt=rgt+2 WHERE rgt>=@ins_rgt;
UPDATE mos_core_acl_aro_groups SET lft=lft+2 WHERE lft>@ins_rgt;

-- Insert the new node
INSERT INTO mos_core_acl_aro_groups (group_id,parent_id,name,lft,rgt)
VALUES (@new_id,@ins_id,@new_name,@ins_rgt,@ins_rgt+1);
*/

class gacl {

    
// --- Private properties ---

    /*
     * Enable Debug output.
     */    
    
var $_debug FALSE;

    
/*
     * Database configuration.
     */
    
var $db=null;
    var 
$_db_table_prefix '#__core_acl_';

    
/*
     * NOTE:     This cache must be manually cleaned each time ACL's are modified.
     *         Alternatively you could wait for the cache to expire.
     */
    
var $_caching FALSE;
    var 
$_force_cache_expire TRUE;

    
// --- Fudge properties
    
var $acl=null;
    var 
$acl_count=0;

    
/*
     * Constructor
     */
    
function gacl$db=null ) {
        global 
$database;

        
$this->db $db $db $database;

        
// ARO value is currently the user type,
        // this changes to user id in proper implementation
        // No hierarchial inheritance so have to do that the long way
        
$this->acl = array();
        
        
// backend login
        
$this->_mos_add_acl'administration''login''users''administrator'nullnull );
        
$this->_mos_add_acl'administration''login''users''super administrator'nullnull );
        
$this->_mos_add_acl'administration''login''users''manager'nullnull );
        
// backend menus
        //$this->_mos_add_acl( 'administration', 'config', 'users', 'administrator', null, null );
        
$this->_mos_add_acl'administration''config''users''super administrator'nullnull );

        
// access to db admin
        //$this->_mos_add_acl( 'administration', 'manage', 'users', 'super administrator', 'components', 'com_dbadmin' );

        // access to templates
        //$this->_mos_add_acl( 'administration', 'manage', 'user', 'administrator', 'components', 'com_templates' )
        
$this->_mos_add_acl'administration''manage''users''super administrator''components''com_templates' );
        
$this->_mos_add_acl'administration''install''users''super administrator''templates''all' );

        
// access to trash
        
$this->_mos_add_acl'administration''manage''users''administrator''components''com_trash' );
        
$this->_mos_add_acl'administration''manage''users''super administrator''components''com_trash' );
        
        
// access to menu manager
        
$this->_mos_add_acl'administration''manage''users''administrator''components''com_menumanager' );
        
$this->_mos_add_acl'administration''manage''users''super administrator''components''com_menumanager' );
        
        
// access to language
        //$this->_mos_add_acl( 'administration', 'manage', 'users', 'administrator', 'components', 'com_languages' );
        
$this->_mos_add_acl'administration''manage''users''super administrator''components''com_languages' );
        
$this->_mos_add_acl'administration''install''users''super administrator''languages''all' );

        
// access to modules
        
$this->_mos_add_acl'administration''install''users''administrator''modules''all' );
        
$this->_mos_add_acl'administration''install''users''super administrator''modules''all' );

        
$this->_mos_add_acl'administration''edit''users''super administrator''modules''all' );
        
$this->_mos_add_acl'administration''edit''users''administrator''modules''all' );

        
// access to modules
        
$this->_mos_add_acl'administration''install''users''administrator''mambots''all' );
        
$this->_mos_add_acl'administration''install''users''super administrator''mambots''all' );

        
$this->_mos_add_acl'administration''edit''users''super administrator''mambots''all' );
        
$this->_mos_add_acl'administration''edit''users''administrator''mambots''all' );
        
// uncomment following to allow managers to edit modules
        //array( 'administration', 'edit', 'users', 'manager', 'modules', 'all' );

        // access to components
        
$this->_mos_add_acl'administration''install''users''administrator''components''all' );
        
$this->_mos_add_acl'administration''install''users''super administrator''components''all' );

        
$this->_mos_add_acl'administration''edit''users''super administrator''components''all' );
        
$this->_mos_add_acl'administration''edit''users''administrator''components''all' );

        
$this->_mos_add_acl'administration''edit''users''manager''components''com_newsflash' );
        
$this->_mos_add_acl'administration''edit''users''manager''components''com_frontpage' );
        
$this->_mos_add_acl'administration''edit''users''manager''components''com_media' );
        
$this->_mos_add_acl'administration''edit''users''manager''components''com_lgmngr' );
            
// ** add additional components for a manager as desired, or give access to all

        // massmail
        
$this->_mos_add_acl'administration''manage''users''super administrator''components''com_massmail' );

        
// manage users
        
$this->_mos_add_acl'administration''manage''users''administrator''components''com_users' );
        
$this->_mos_add_acl'administration''manage''users''super administrator''components''com_users' );

        
// email block users property
        
$this->_mos_add_acl'administration''edit''users''administrator''user properties''block_user' );
        
$this->_mos_add_acl'administration''edit''users''super administrator''user properties''block_user' );
        
        
// email system events
        
$this->_mos_add_acl'workflow''email_events''users''administrator'nullnull );
        
$this->_mos_add_acl'workflow''email_events''users''super administrator'nullnull );

        
// actions
        
$this->_mos_add_acl'action''add''users''author''content''all' );
        
$this->_mos_add_acl'action''add''users''editor''content''all' );
        
$this->_mos_add_acl'action''add''users''publisher''content''all' );
        
$this->_mos_add_acl'action''edit''users''author''content''own' );
        
$this->_mos_add_acl'action''edit''users''editor''content''all' );
        
$this->_mos_add_acl'action''edit''users''publisher''content''all' );
        
$this->_mos_add_acl'action''publish''users''publisher''content''all' );

        
$this->_mos_add_acl'action''add''users''manager''content''all' );
        
$this->_mos_add_acl'action''edit''users''manager''content''all' );
        
$this->_mos_add_acl'action''publish''users''manager''content''all' );

        
$this->_mos_add_acl'action''add''users''administrator''content''all' );
        
$this->_mos_add_acl'action''edit''users''administrator''content''all' );
        
$this->_mos_add_acl'action''publish''users''administrator''content''all' );

        
$this->_mos_add_acl'action''add''users''super administrator''content''all' );
        
$this->_mos_add_acl'action''edit''users''super administrator''content''all' );

        
$this->_mos_add_acl'action''publish''users''super administrator''content''all' );

        
$this->acl_count count$this->acl );
    }

    
/*
        This is a temporary function to allow 3PD's to add basic ACL checks for their
        modules and components.  NOTE: this information will be compiled in the db
        in future versions
    */
    
function _mos_add_acl$aco_section_value$aco_value,
        
$aro_section_value$aro_value$axo_section_value=NULL$axo_value=NULL ) {

        
$this->acl[] = array( $aco_section_value$aco_value$aro_section_value$aro_value$axo_section_value$axo_value );
        
$this->acl_count count$this->acl );
    }

    
/*======================================================================*\
        Function:   $gacl_api->debug_text()
        Purpose:    Prints debug text if debug is enabled.
    \*======================================================================*/
    
function debug_text($text) {

        if (
$this->_debug) {
            echo 
"$text<br>\n";
        }

        return 
true;
    } 
Wie kriegen wir die Rechte jetzt wieder hin??
Bitte dringen um antwort. Ab Morgen soll unsere neue Saison losgehen.

Gruß
Sebastian

P.S. Diese Zeile hatte ich schon hinzugefügt: $this->_mos_add_acl( 'administration', 'edit', 'users', 'manager', 'components', 'com_lgmngr' );
__________________
Deutsche FIFA Community - Mit der starken DFC-Liga
Web:www.dfc-liga.de
Mail: Webmaster DFC

Last edited by Day; 02.03.2005 at 13:25.
Day is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 28.02.2005, 10:03   #2 (permalink)
Day
Senior Mamber
 
Join Date: Apr 2004
Posts: 162
Day is on a distinguished road
Send a message via ICQ to Day
Default Re: Rechtevergabe beim Ligamanager nach Update 4.5.2.1

Mist,
weiß wohl keiner eine Antwort.

*wein*
__________________
Deutsche FIFA Community - Mit der starken DFC-Liga
Web:www.dfc-liga.de
Mail: Webmaster DFC
Day is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02.03.2005, 09:34   #3 (permalink)
Day
Senior Mamber
 
Join Date: Apr 2004
Posts: 162
Day is on a distinguished road
Send a message via ICQ to Day
Default Re: Rechtevergabe beim Ligamanager nach Update 4.5.2.1

Mir ist aufgefallen, dass die Rechtevergabe bei allen Sachen so ist.
Man kann für Manager keine direkten Komponenten mehr freigeben.
Egal ob Zoomgalerie oder Newsletter Komponente.

Muß man das unter 4.5.2.1 jetzt woanders eintragen??

Gruß
Day
__________________
Deutsche FIFA Community - Mit der starken DFC-Liga
Web:www.dfc-liga.de
Mail: Webmaster DFC
Day is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01.06.2005, 00:54   #4 (permalink)
Mamber
 
Join Date: Apr 2004
Posts: 65
duplo2222 is on a distinguished road
Default Re: Rechtevergabe beim Ligamanager nach Update 4.5.2.1

Mir ist aufgefallen, dass im Backend unter "Modules" --> "Administrator Modules" der "Access Level" für "Components " auf Administrator steht und nicht verändert werden kann.

Jemand eine Ahnung, wie das auf Manager gestellt werden kann?

Last edited by duplo2222; 01.06.2005 at 14:34.
duplo2222 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
PhpShop Probleme nach Update 1.1 -> 1.2 rc2b b-tommy Komponenten 4 27.08.2005 23:35
Kein Plan beim Update... Dukes-Fan Installation 9 25.02.2005 22:14
Zoom: Nach Update Ärger! CRen Komponenten 2 25.02.2005 02:52
Problem nach Update auf 1.0.9 mfrenzel Installation 8 21.02.2005 18:05
Haufenweise Fehler nach Update mr_airbrush Installation 5 12.04.2004 16:51


All times are GMT +2. The time now is 22:56.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.