1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    2
    Vote Rating
    0
    ahmkhan is on a distinguished road

      0  

    Default EXT JS 4 0 - display controls based on roles and authorizations

    EXT JS 4 0 - display controls based on roles and authorizations


    Hi,

    I have a requirement where I should control display of navigation tree, buttons, grids, widgets based on roles and authorizations of the logged in user. Is there any configuration process in ext js where I can control screens based on read, write authorization roles on each screen ?

    Regards,
    Sencha User

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,641
    Vote Rating
    434
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    You would just affect the configs when you instantiate the components.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Ext JS Premium Member
    Join Date
    Mar 2010
    Location
    Northern Virginia
    Posts
    44
    Vote Rating
    3
    aghextjs is on a distinguished road

      0  

    Default


    I did something similar, determining controls based on roles and wrote about it here. : http://ahlearns.wordpress.com/2012/1...g-application/. It's one strategy to consider.