Setting Permission Filter
ayashi
Member Posts: 78
Hi Guys
I'm having trouble setting security permission for each user in database.
Step to duplicate :
1. Choose one user from database login dialog box
2. Choose Role 'ALL' and Custom Role (Copied From P&P-Q/O/I/R/C)
for that user (1)
3. Set Permission for role Custom Role, filter object data
'Table Data' ->item ledger table -> Filter Field Location -> BLUE
4. Login as user (1)
At this point I can't open item card, it said I don't have permission to read item ledger table. Isn't that I'm supposed to be able to view item card ? only if I drill down inventory field (sum index field from item ledger entry), the item ledger entry list already filtered based on permission security.
What did I do wrong ?
Is there any guide book to set up permission filter ?
Thanks
I'm having trouble setting security permission for each user in database.
Step to duplicate :
1. Choose one user from database login dialog box
2. Choose Role 'ALL' and Custom Role (Copied From P&P-Q/O/I/R/C)
for that user (1)
3. Set Permission for role Custom Role, filter object data
'Table Data' ->item ledger table -> Filter Field Location -> BLUE
4. Login as user (1)
At this point I can't open item card, it said I don't have permission to read item ledger table. Isn't that I'm supposed to be able to view item card ? only if I drill down inventory field (sum index field from item ledger entry), the item ledger entry list already filtered based on permission security.
What did I do wrong ?
Is there any guide book to set up permission filter ?
Thanks
0
Comments
-
I think it is because, the flowfield "Inventory" includes ALSO the other locations. So in the OnOpenForm-trigger, you should put a filter on the "Location Filter"-field.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
so I have to involve with coding when setting permission ?
is there any way for user to set permission without having to write any single code, since the user doesn't have C/AL License0 -
In the OnOpenForm-trigger, you can put something like
SETFILTER("Location Filter",'BLUE');Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
so user has to have C/AL license to do this ? phew ...
is it possible to use dynamic filter ?0 -
No, you just have to program it once to set the filter you need. You can use some setup per user and then use that filter in stead of 'BLUE'Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 333 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 991 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