If I understand your problem from very little context, I would recommend you manage the permissions on the roles separately and then simply assign the roles to the respective users. Here it looks like you're complicating things.
I use this in applications of mine; I have a RoleResource where I create the roles. I then manage the respective permissions on that role. When managing the Roleable, I am guessing you use the default User (the thing you want to give the role), it doesn't care about the permissions... only which role is applied. This would help separate the concerns, I feel.
@jaseofspades88 Hi. I also have resources to manage permissions. I just want to show in user resource (Where I can attach the user to role) which permissions are applied via Role. Just for presentation purposes, in fact the checkboxes are disabled. And It works fine except that the checkboxes are unchecked and I want to show them checked.
I understand the requirement now, @miquelangeld but I would suggest you don't use a form element that is never going to be enabled, just to display data. Consider using a Placeholder or a custom View as this might appear more presentable and you would be able to display the data in multiple columns, without the checkboxes.