Field level security

kenl
Member Posts: 182
Hello,
How can we setup field level security ?
For example, I would like to disable a field on Sales header for some users. How can we set it up?
I don't find field level setup in user->Roles setup
Best regards,
Ken
How can we setup field level security ?
For example, I would like to disable a field on Sales header for some users. How can we set it up?
I don't find field level setup in user->Roles setup

Best regards,
Ken
0
Comments
-
-
Hello kine,
Which module we need for field level security?
Best regards,
Ken0 -
:-) I have no exact module in my mind... you need some module... (there is no standard module)... Our company have such a module prepared (Navision 3.70>) - Insert, Modify, Delete permissions on fields...0
-
You can buy a field level security add-on from Lanham. It works ok, but you have to know exactly how it works before you start using it in production. Also it doesn't allow you to easily take away security, so if you use it, start out with one table only, get the hang of it and incrementally add additional tables to it.0
-
Create a function on the subform where you set the editability on the field based on userid and call it on the OnOpenForm trigger:
CurrForm."some field".EDITABLE(USERID IN );0 -
Our solution do not modify existing objects (only CU 1 :-) and you only configure which role have which permissions on which table and field.0
-
if the field level security is related to data procurement ; such that one person have the acess to certain kind of records and other do not then then i would suggest that using resposibility centre will be a good idea/PDR0
-
It is IMPOSSIBLE to not modify existing objects. EDITABLE and VISIBLE can only be coded into the form itself.
Do It Yourself is they key. Standard code might work - your code surely works.0 -
It's not impossible if you know how the Change Log functionality works... think about it.Nelson Alberto0
-
Shenpen wrote:It is IMPOSSIBLE to not modify existing objects. EDITABLE and VISIBLE can only be coded into the form itself.
It IS possible... \:D/ as nelson said... base is Change Log functionality... (but you do not need this granule)...
I know about what I am speaking, I developed such a module for 2 months... O:)0 -
Ah, you mean the global triggers? That goes table (recordref) level, not form level, and it means you can make a field noneditable, but cannot make it invisible.
Do It Yourself is they key. Standard code might work - your code surely works.0 -
Yes, I spoke about Insert, Modify and Delete permission, not about View or select permissions... :-)0
-
Ah, but that's the real point!
If a field is there, but the user gets error message for modification, then he will rightfully ask "If that field is not to edit for me, then why isn't it gray?" (uneditable) Don't forget the old usability rule: the computer must not ask questions it could figure out for itself.
And actually the important thing is field invisibility, for two reasons:
1) Users are really scared about how much fields Navision has. Psychologically they feel the software expects them to answers hundreds of questions f.e. all the fields and tabs on Sales Orders or Customer Cards, and a typical company uses 10% of them. And if they don't need it, why are those fields there? So what we would really need is configurable invisibility (and automatic change of field orders, and moving fields between tags).
I made a Perl script that codes configurable invisibility into forms exported in TXT, but auto-arranging fields to fill the gaps and auto-moving them between tabs if a too big challenge... so it seems we are stuck with those annoying Design Form, Save As, "Customer Card for Warehouse Employees" - implementation processes...
Do It Yourself is they key. Standard code might work - your code surely works.0 -
Hello All,
Thanks for all of your information.
But I am talking about "Field" level security. So no much about Insert / Delete (These two would be "Record" level security)
What I am looking for is, Field Level Security includes
-visible
-editable
Eg.
On Sales order, statisitc form, I would like to hide the "Profit %" for some users.
On Sales line, hide the "Cost Price"... etc
I know that we can modify the existing form to set Field.visible(). But I would like to know is there any better way to do it? I want to avoid changing so many forms for this Hidden fields task.
Thanks,
Ken0 -
There is no way for this now... may be in some next version... ;-)
(without changing the forms)0 -
I guess he ruled out
http://www.lanhamassoc.com/securitymgmt.htm
as an option mentioned earlier?
sometimes you have to pay the piper if you want to dance with the pretty girl0 -
Hi,
I also wrote field level security solution for a customer running NAV5.0
The security check runs perfectly. I modified GetGlobalTableTriggerMask() to ensure that for the appropriate table it execute the OnGlobalModify (they are only interested in modification of fields)
Then in OnGlobalModify I call my function to test if the user has permission to modify a field.
For a user not having permission to modify this field it displays the error correctly and rolls back the change.
But now on each read, write on anything, it displays the error message. Switch debugger on, but it doesn't stop on an error.
Added before my function call in OnGlobalModify:CLEARLASTERROR
But still the issue persists.
Anybody have a suggestion please?
RegardsKind Regards,
Ewald Venter0 -
Works perfectly on NAV2009R2...Kind Regards,
Ewald Venter0 -
You can use easy security with "FLADS " for this, a tool from mergetool. See website mergetool.com
also instruction film on youtube.
You need a license for this, but the customer can set their restrictions as he pleases.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions