Any hint for User permission setup?

kenl
Member Posts: 182
Hello,
I am working on user permission setup. But I am getting troble for this task. It is very difficult to set it up.
User -> Role -> Permission.
In standard Navision, there are a couple of pre-defined Role. I want to set a user to allow create sales order. I give the user roles as
1) All
2) S&R-Q/O/I/R/C
When I logon, open Sales order, system prompt me error
Then I add Role
3) S&R-Q/O/I/R/C, POST
Then logon again, but prompt error
Finally I give all S&R role to the user. But system still prompt me
No permission for Transfer Line.... then Service Invoice line... I just keep adding table data to the user, but I would like to know, if I want to grant right to create sales order, which role I need to give the user?
Thanks,
Ken
I am working on user permission setup. But I am getting troble for this task. It is very difficult to set it up.
User -> Role -> Permission.
In standard Navision, there are a couple of pre-defined Role. I want to set a user to allow create sales order. I give the user roles as
1) All
2) S&R-Q/O/I/R/C
When I logon, open Sales order, system prompt me error
No permission to read Sales Invoice Header
Then I add Role
3) S&R-Q/O/I/R/C, POST
Then logon again, but prompt error
No permission to read Transfer Line
Finally I give all S&R role to the user. But system still prompt me
No permission for Transfer Line.... then Service Invoice line... I just keep adding table data to the user, but I would like to know, if I want to grant right to create sales order, which role I need to give the user?
Thanks,
Ken
0
Comments
-
Hi Kenl,
The best advice I can suggest from our experience is setup a test user on your database and assign the role and test the transactions required and add permissions to the Role.
The error is normally adequate to tell you what is wrong (Read Insert Delete, etc.) and on what table - It gives you the table name.
There is a permissions wizard and other methods using code coverage, but unfortunately I didn't have access to them. It also depends if you are using SQL or the navision database, because some of the tools don't work with SQL straigt away.
hope this helps
Neville0 -
This tool could be useful for you: Navision Permission Role Wizard
It uses Code Coverage to determine what tables are being used during a transaction, and creates a role containing those tables.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0 -
Hello all,
Thank for your idea.
I am using NA 4.00 with SQL option.
Finally I have created a role for users to "Create sales order". O:)
Here is the roles I added:
1) ALL
2) S&R roles
3) Table data for 7030, 5902, 5741, 5700, 7321, and 5767
This is a very time consuming procedure to set user permission. Need many Try and Error.
After the basic setup, now I would like to control user to access different company. Any suggestion for it?
Eg.
User A can only go to Company A
User B can only go to Company B
User C can go to Company A or B
Thanks.0 -
Assign roles for the specific company... you have field for it in the table...0
-
Hello,
I find the field "Company" in User Roles. Thanks.
I am going to grant roles to other modules users (purchase, finance, ....)
I have another question on record filtering (Security filter) in Permission.
Let say I want to let users to see customer from "1000..2000" only.
For table data "Customer", I set the the security filter as "1000..2000". It works fine when I open the customer card/ list form.
However, when I open sales order form, I can still able to view/select customer other than 1000..2000. Finally I need to set security filter on all sales headers (order header, Invoice header, Shipment header....)
Is this a correct way to set the filter? Can I set the filter on master table only :idea:0 -
You must specify filters everywhere the customer is used... and do not forget to set permission filter to all "Customer Filter" flowfilters etc... it is hard job to set up permission filters...0
-
This is a bad news for me.
Anyway, thanks for your reply.
Ken0
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