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 ?