SQL Server: where to check user/groups permission on sql-level? - sql

I got a SQL Server database, where users are logged with windows credentials. I'm trying to look at users and groups permissions (reader, db_owner, etc) on SSMS.
I'm not sure if i can get that info on Security, or Roles. It seems i'm looking in the wrong place.
Could somebody point me on the right direction?
Thanks,
ps: edit: this is the screen i'm looking for

Go to Security -> Logins -> double click on needed user -> go to User Mapping -> click on needed user on "Users mapped to this login:" form

Related

Oracle apex not recognizing user roles

So I have the users in a table and I know my login system works because I use it for other workspaces. However across all the applications in this particular workspace I am having an error where users roles are not being recognized in particular I can't even get the admin page to work for me and I am a developer. If anyone has any clue on how to fix this it would be greatly appreciated.
If that first image is the default Admin pages, then wouldn't that mean you have access since you can see that page?
(which by default, if you let APEX create it for you through New Page > Features > Access Control) has Administration Rights set as the Authorization scheme
You have two places to check to find the issue:
Shared Components > Security > Authorization Scheme
Go to or Click your Administation Rights, under Authorization Scheme, you need to make sure you are using Is in Role or Group IF that is the requirement and you are to use the created roles. Make sure the role, Administrator (if default roles exist) is listed.
if validation is once per session, and you're still in the same session. log out and log back in. The problem should go away
Shared Components > Security > Application Access Control
Check under Role Assignments if your username is there.
Click Administrator under Roles, and make sure Administration Rights under Associated Authorization Schemes has the Is in Role or Group as the scheme type
If there is a different Authorization scheme (not Is in Role or Group) or you have different roles, then I would suggest post a new question with more details on your setup.

Odoo POS (v9) Error (Document type: ir.filters, Operation: read) when validate order

When POS tries to push orders data to the server, it always appears error like this (on the picture). I've already added access right ir.filters to the user group. But it does not help anything. Only the Administrator can do without this error appear.
[EDIT]
Here is the setting :
Please check "ir.filters" model there is no access rights on given model to particular user.
as admin he have a full access rights on same model.
So now please Just go to settings → Users → groups → check your user group who can not access the records.
Just go to form view of group and Access right tab there please try to check access right given on "ir.filters" model may be there is only given read rights to particular group of user just add few more there then you can create record then.
you also need to go to menu Technical → Security → Record Rules. then search for all record rules related to ir.filters model. make sure that the user is not restricted by any of them.
Let us know if it will work for you.

where to go to give permission to users?

someone knows how to give permission to users created in odoo. It turns out that I already do all the code but I do not know where to go in the odoo system to be able to grant her permission. Can someone help me please?
Go to Settings >> Users & Companies and select the user.
Choose the Access restriction for apps from the Application Accesses menu .
You can give permission to user two ways:
Settings --> Users & Companies --> Users --> Select User
your module/security/ir.model.access.csv
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink

SQL logs showing login that I can't find

Within my SQL server logs, I am showing a successful login to a database from an account (SERVER\loginname) that I cannot find in either Security > Logins OR Database > Security > Users. This login is being used by a program, so it's not a security compromise, but I cannot for the life of me figure out where it is and I need to find it to make an adjustment. I do remember adding this specific login a while back. Does anyone have any ideas for my brainfart?
if you can try to login with that account, as it is a windows account follow these steps:
from START or from wherever you put the Management studio , hold SHIFT key and right click on management studio icon.
from the menu click "run as a different User"
now login as that account SERVER\loginname
if you successful login , the account has to be in :
select name
from [master].[dbo].[syslogins]
where name ='server\loginname'
or
select suser_sname()-- you will see current login account as a result
if you can't login with that account, read the error and start from there.
hope this helps

All users being logged in as System Account

So I have my little Sharepoint single server farm all setup and everything was running pretty smoothly until I noticed this happening last week:
Every time someone logs in, they get logged in as "System Account" instead of "Domain\User"
I've done some extensive searching on here and Google, but the only solution that I came up with was that it was an App Pool Identity problem
Any suggestions?
**
EDIT:
**
I just wanted to say for the sake of anyone Googling this that here is how I fixed it:
In the Administration Page, navigate your way to Farm Credentials.
From there look at your Farm Account in the drop down menu, and make sure that user is set to a profile with enough privileges. Mine was set to NT\AUTHORITY or SYSTEM\NETWORK (I can't remember which; I've since stopped working with Sharepoint) and I changed it to DOMAIN\USER.
After restarting Sharepoint and IIS everything worked and all the users were logging it with DOMAIN\USER instead of "System Account"
Sounds like you are on the right track. I would first check application pool security account. Is it possible that you selected a domain group that contains all of your users?
Also, after actions that Rich Bennema provide, maybe need to perform issreset to applay changes.