Results 1 to 3 of 3

Thread: Extending Roles

  1. #1
    affinity4 is offline Junior Member
    Join Date
    Dec 2007
    Posts
    3

    Default Extending Roles

    I have extended other core modules just fine, but I am having a hard time extending the Roles module.

    objective: Add custom fields which will extend role management for our purposes.

    what i have done:
    - added table: acl_roles_cstm (id_c, limit_low_c, limit_high_c)
    - added 2 new records to fields_meta_data to relate them
    - added vardefs in /custom/modules/ACLRoles/Ext/Vardefs/vardefs.ext.php
    - added the fields in /custom/modules/ACLRoles/metadata/editviewdefs.php


    what is happening:
    - I can see the new labels & fields in edit view
    - Upon saving, the 2 additional fields are not saved to acl_roles_cstm


    any ideas?

    ------------------------------------------------
    OS: Linux (Fedora) (2.6.25.2
    Apache: 2
    PHP: 5.2.5
    Sugar Version: SugarProfessional 5.1.0a (Build 4837)
    ------------------------------------------------


    Many thanks.

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Extending Roles

    Hi Affinity4

    What is the need on customizing the ACL modules?
    Actually what do you want to do?

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    affinity4 is offline Junior Member
    Join Date
    Dec 2007
    Posts
    3

    Default Re: Extending Roles

    I am trying to add 2 custom fields ('limit_low' & 'limit_high').

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Converting Roles to additive
    By Kalendrinn in forum Developer Help
    Replies: 6
    Last Post: 2007-08-24, 05:31 AM
  2. Roles seem backwards to me...
    By Xaox in forum General Discussion
    Replies: 0
    Last Post: 2006-07-19, 04:23 PM
  3. User Roles not in the roles table?
    By doctorlard in forum Developer Help
    Replies: 3
    Last Post: 2006-04-18, 04:41 AM
  4. Replies: 1
    Last Post: 2005-10-07, 03:39 PM
  5. permissions / roles with projects and users
    By teklocust in forum Feature Requests
    Replies: 1
    Last Post: 2005-08-30, 05:09 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •