Forums › Forums › OroPlatform › OroPlatform – Security › Field level access control
This topic contains 11 replies, has 5 voices, and was last updated by Stepan Yudin 7 years, 5 months ago.
Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.
- CreatorTopic
- April 18, 2015 at 6:56 am #35497
Hi,
Firs I should say we like you ACL system very much. It has covered most of our requirements.
Do you have a plan to implement field level access restriction? Sometimes we just need that users with a specific role can edit or view an entity but not being able to view or edit a specific field. What is your suggestion?
Best,
Ahmad - CreatorTopic
- AuthorReplies
- May 6, 2015 at 9:46 am #35498
Hi, @ahmad-golzar.
Thanks for your feedback.
Yes, we have a plans to implement access checks on field level, but unfortunately, I cannot say when it will be implemented.
I think that @Soroka able to provide more information on this subject
July 31, 2015 at 5:40 am #35499Hi, Yuri.
Im interested in this functional too. Maybe you know now – how long to wait for ths feature?Docker environment for Symfony2/OroCRM/OroBAP development on Windows platform
https://github.com/stepansib/sf-oro-dockerAugust 3, 2015 at 6:17 am #35500Hi Stepan,
This feature is in our backlog but unfortunately I cannot provide you the clear timeline just yet. I will post an update here as soon as we decide to put it into a release.
Thanks for your interest in OroCRM!
August 3, 2015 at 8:53 am #35501Thank you, Artem. It would be great!
Docker environment for Symfony2/OroCRM/OroBAP development on Windows platform
https://github.com/stepansib/sf-oro-dockerNovember 6, 2015 at 2:19 am #35502Here’s some draft https://github.com/orocrm/platform/pull/337 for field level acl.
December 28, 2015 at 4:18 am #35503Yep, i saw it. Now waiting for this pull request to be merged)
Docker environment for Symfony2/OroCRM/OroBAP development on Windows platform
https://github.com/stepansib/sf-oro-dockerJuly 21, 2016 at 9:24 am #35504It (finally) should be available in the upcoming 1.10 release. Thanks for your patience!
July 21, 2016 at 10:35 pm #35505Hooray! Thank you!
Docker environment for Symfony2/OroCRM/OroBAP development on Windows platform
https://github.com/stepansib/sf-oro-dockerNovember 8, 2016 at 7:49 am #35506Good day everyone!
One more question: is there any possibility to force enable field level ACL for entity?
I added
"field_acl_supported"="true"
to my entity config, but after this i have to go to entity management UI and turn it on. I want to do this with migrations or with any other way without UI interactions.Docker environment for Symfony2/OroCRM/OroBAP development on Windows platform
https://github.com/stepansib/sf-oro-dockerNovember 8, 2016 at 12:30 pm #35507I’ve found the solution. Just needed to add one more property to security config.
Take a look at lines 9-1112345678910111213141516* @Config(* defaultValues={* "security"={* "type"="ACL",* "group_name"="",* "permissions"="All",* "category"="crm_entities",* "field_acl_supported"="true",* "field_acl_enabled"=true,* "show_restricted_fields"=true* }* }* )Thank you anyway, great Field-level ACL implementation)
Docker environment for Symfony2/OroCRM/OroBAP development on Windows platform
https://github.com/stepansib/sf-oro-dockerNovember 10, 2016 at 2:28 am #35508One more question)
How can i turn of all permissions for specified field?
I tried this:123456789* @ConfigField(* defaultValues={* "security"={* "permissions"="NONE",* },* }* )It works, but error hapens when i try to change any permission and save role via the UI form.
Docker environment for Symfony2/OroCRM/OroBAP development on Windows platform
https://github.com/stepansib/sf-oro-docker - AuthorReplies
The forum ‘OroPlatform – Security’ is closed to new topics and replies.