Skip to main content
Solved

IFS 9 Database read only user for

  • Nov 15, 2022 8:53 AM UTC
  • 29 replies
  • 476 views

Forum|alt.badge.img+3

I have created  a permission set for grant selection only for all while RMB on 

 

 

 

 

but when i am query accouting tables , the data doesnt show up in table only header is visible

Best answer by Link

The permission set should be correct. Did you grant company and site in user?

Something in user isn’t complete.

 

View original

29 replies

Forum|alt.badge.img+13
  • Hero (Partner)
  • Nov 15, 2022 9:14 AM UTC

Did you state is correctly that you’re querying a TABLE?

you can not directly grant access to tables from IFS applications. instead it will be always the VIEW. I have seen RMB > grant all, Grant query all sometimes misses couple / more objects hence always good to drill down more specifically through the components tree 


Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Superhero (Customer)
  • Nov 15, 2022 9:21 AM UTC

Hi @yasirB 

if the user can see the screen but can’t access to data then check the accounting rules and general ledger in the user:

 

 

 


Forum|alt.badge.img+3
  • Author
  • Sidekick (Customer)
  • Nov 15, 2022 9:42 AM UTC

bascially, i need a database read only user to access all the data for reporting purposes,

i have tried granting selection to all objects but it's not working.

 

 


Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Superhero (Customer)
  • Nov 15, 2022 10:00 AM UTC

Can you post a screenshot of the accounting table you mean?


Forum|alt.badge.img+3
  • Author
  • Sidekick (Customer)
  • Nov 15, 2022 10:13 AM UTC

in this case, any table/view that has a transaction is not showing any data

 

 


Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Superhero (Customer)
  • Answer
  • Nov 15, 2022 10:23 AM UTC

The permission set should be correct. Did you grant company and site in user?

Something in user isn’t complete.

 


Forum|alt.badge.img+3
  • Author
  • Sidekick (Customer)
  • Nov 15, 2022 10:34 AM UTC

I think that might be it, I have done it from front end and it seems to be working fine

 

now I have another user that is only DB user, how can I give the same right from the database side?

 

thanks a lot

 


Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Superhero (Customer)
  • Nov 15, 2022 10:57 AM UTC

Hi @yasirB 

great to read that.

I am afraid I didn’t catch your last question. Could you be more specify, please?

You have a user for DB only. Now you want to grant him (DB user) database permissions?

 


Forum|alt.badge.img+3
  • Author
  • Sidekick (Customer)
  • Nov 15, 2022 11:03 AM UTC

i have a DB user who is having same issues,this user is read-only access to all database

but whenever i am accessing any transaction tables/views, there is no data coming up.

so i believe this user needs to be granted access to companies and site as you have suggested for the user that is created on IFS front end.

now i am looking for a query that can give access to companies and site to the user that i have created in DB.


Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Superhero (Customer)
  • Nov 15, 2022 11:09 AM UTC

OK, I see.

But why do you need a query?

You can grant the permissions directly in IFS:

 


Forum|alt.badge.img+3
  • Author
  • Sidekick (Customer)
  • Nov 15, 2022 11:12 AM UTC

yes, thanks a lot for that i understood by your previous reply.

 

but i am also looking from the DB side any hint on that?

 


Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Superhero (Customer)
  • Nov 15, 2022 12:47 PM UTC

So you want execute a sql query to assign a company and site?

Then you need to create a query to insert new rows in the tables.

Here the views:

Select * from ifsapp.USER_FINANCE

Select * from ifsapp.USER_ALLOWED_SITE


Forum|alt.badge.img+3
  • Author
  • Sidekick (Customer)
  • Nov 16, 2022 3:19 AM UTC

So you want execute a sql query to assign a company and site?

Then you need to create a query to insert new rows in the tables.

Here the views:

Select * from ifsapp.USER_FINANCE

Select * from ifsapp.USER_ALLOWED_SITE

thanks a lot


Forum|alt.badge.img+3
  • Author
  • Sidekick (Customer)
  • Nov 18, 2022 7:34 AM UTC

where i can get details if GL and TB views/tables?


Forum|alt.badge.img+3
  • Author
  • Sidekick (Customer)
  • Nov 18, 2022 8:07 AM UTC

OK, I see.

But why do you need a query?

You can grant the permissions directly in IFS:

 

the user i have created with this procedure has limited access to views/tables while logging into DB from DB tool


Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Superhero (Customer)
  • Nov 18, 2022 8:11 AM UTC

Hi @yasirB 

what kind of details do you need and what do you mean with GL and TB?


Forum|alt.badge.img+3
  • Author
  • Sidekick (Customer)
  • Nov 18, 2022 11:20 AM UTC

Hi @yasirB 

what kind of details do you need and what do you mean by GL and TB?

I am trying to access the table through SQL developer using the Read-only user that I have created following above

IFS GL Voucher rows screen shows a View that i am trying to query from database but it is coming empty


Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Superhero (Customer)
  • Nov 21, 2022 8:21 AM UTC

Hi @yasirB 

could you check the authorize classes?

If they are missing you can’t see the GL vouchers.


Forum|alt.badge.img+3
  • Author
  • Sidekick (Customer)
  • Nov 23, 2022 7:43 AM UTC

is it possible to see the sql query behind quick reports?


Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Superhero (Customer)
  • Nov 23, 2022 12:39 PM UTC

Hi @yasirB 

of course. In IEE you can do the follwing step.

Go to Quick Reports and click with RMB on Show Details:

 

The details screen will show you the sql code.


Forum|alt.badge.img+3
  • Author
  • Sidekick (Customer)
  • Nov 23, 2022 3:37 PM UTC

Hi @yasirB 

of course. In IEE you can do the follwing step.

Go to Quick Reports and click with RMB on Show Details:

 

The details screen will show you the sql code.

thanks .

 

what about order reports ? for exmple customer_legder_age_analysis  sql query ?


Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Superhero (Customer)
  • Nov 23, 2022 3:44 PM UTC

You can start the debug console and execute the report. Then you can check the code in the debug console. I don’t know if you will find the right information.


Forum|alt.badge.img+3
  • Author
  • Sidekick (Customer)
  • Nov 23, 2022 3:47 PM UTC

You can start the debug console and execute the report. Then you can check the code in the debug console. I don’t know if you will find the right information.

what is the key for starting the debug console ? 


Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Superhero (Customer)
  • Nov 23, 2022 3:49 PM UTC

You can start it as follows:

 


Forum|alt.badge.img+3
  • Author
  • Sidekick (Customer)
  • Nov 23, 2022 3:53 PM UTC

You can start it as follows:

 

i dont see file menu , how to get it?