Oracle SOA BPM issue - oracle

I created instance at user level.but I am not getting same instance in oracle SOA BPM 11g workspace. these same issue facing in all the BPM interfaces in (DEV Environment ). please give me the solution for this...

Create a User and assign the role to the user in the "Security Realm" under user tab of weblogic console.
After adding user, make sure you have the role available under the groups tab. Add the respected role to user and logout from workspace and retry to login and verify for the instance. The instance should be visible in the workspace.

For instance, the lane participant for the User task is Approver as shown above. The user should be assigned to this role in order to retrieve the task. Please make sure that the user is assign to the Approver role and this role is exist in the Application roles under Security Realm. HTH.

Related

Dynamics 365: role and privilege for system administrator user

In Microsoft Dynamics 365 Customer Engagement/ Sales, is it possible that an application user who has been assigned system administrator for the environment, might not have the privileges to access some of the data in the tables?
I have an application user who has system administrator permission, and while accessing some of the data using that application user, I am seeing:
Unable to enumerate rows. Error:0x80040220 - SecLib::CheckPrivilege failed. User: <id>, PrivilegeName: prvReadmsdyn_caseenrichment, PrivilegeId: 41f6f2f1-30c0-431f-b6c7-b8c97a274f5f, Required Depth: Basic, BusinessUnitId: <id>, MetadataCache Privileges Count: 5995, User Privileges Count: 4624
https://learn.microsoft.com/en-us/power-platform/admin/database-security#assign-security-roles-to-users-in-an-environment-that-has-a-dataverse-database
In this link, it has been mentioned that the system administrator permissions application user has full access to the Dataverse environment, with CRUD permissions on all entities.
A user that has the System Administrator role should be able to access all data in the system, so you are right to question why the error is happening.
The end of this article says that the msdyn_caseenrichment entity is part of the Customer Service Intelligence solution.
I'm not up to speed on that particular solution, but maybe the user is unlicensed for it, or something along those lines.
On Dynamics 365 CE On-line this is indeed possible. There are certain actions that cannot be performed by application users. One example is turning on cloud flows, which can only be done by regular user accounts.
You can work around this limitation by making the application account impersonate a regular user.

Firebird Windows Trusted logging in and assigning roles

I'm using Firebird 2.5 and want to log on with Windows Trusted authentication which works fine. However I want each windows user to be allocated a specific role for the database they are logging into. I have defined my roles in the database but don't know how to allocate the role to the windows user. I thought if I added a user with the same windows name in the security database and assigned them a role that would work, but apparently not. Any help would be appreciated
The only way in Firebird 2.5 and earlier to use a role, is to explicitly specify it on connect in the isc_dpb_sql_role_name connection property (or equivalent), assuming that the user has been granted the role. There is one exception introduced in Firebird 2.5, and that is 'auto admin mapping' which automatically enables the RDB$ADMIN role for administrator users.
In Firebird 3 you can create custom mappings which allow you to map specific users to roles. See Mapping of Users to Objects. This documentation suggests it is also possible to map user groups derived from trusted auth to roles or users, but this isn't clearly documented, so I'm not exactly sure how it works.
Firebird 4 will introduce default roles for users, which can be granted as a default role to that user. Default roles will always be enabled for a user.

Oracle role is not working

Our DBA team created a role (standardRole) to easily managed the minimum system privileges in our organization, this role is having one system privilege currently which is the 'Create Session' privilege.
I created a user and grant him this role (standardRole), the user try to connect using Toad but he failed and this error message appeared - ORA-01045: user user1 lacks CREATE SESSION privilege; logon denied.
Then, I granted him the 'Create Session' Privilege directly this time in addition to the role that he is having already and he successfully connected to the database.
So, I am a little confused, why the 'Create Session' granted through the role in not working, but if its granted directly its working fine??!!
I tried to search about this topic in google, and I found some interesting information in Oracle Help Center, but to be honest I didn't understand it 100%.
We must to specify the role when granted to be Default, if the role is default the database will set the role automatically when the user create his session.
The user can also make the role enabled by using this command:
set role (role name)
You need to make the role as default.
To do this, run
ALTER USER DEFAULT ROLE CONNECT;
If there are several roles, then you need to execute
ALTER USER DEFAULT ROLE ALL;

Assigning default role to EXTERNALLY IDENTIFIED Oracle user

So, I need to implement SSO in our Oracle databases (using Standard Edition only) and I'm nearly there but I have one annoying problem.
Here's the basic run down of how the user is created. This all works beautifully and I can connect without usernames or passwords. No error are thrown when I GRANT the role of assign it as default
CREATE USER "OPS$DOMAIN\USER" IDENTIFIED EXTERNALLY;
GRANT create session TO "OPS$DOMAIN\USER";
GRANT my_awesome_role TO "OPS$DOMAIN\USER";
ALTER USER "OPS$DOMAIN\USER" DEFAULT ROLE my_awesome_role;
But when i log in, the role doesn't appear when running
SELECT * FROM session_roles
and I need to specifically run the SET ROLE command to bring it to life
SET ROLE my_awesome_role
So my question is, do I need to do something different with roles when using external authentication in Oracle? The documentation is a little vague, or at least my reading of it is ;-)

Create a role without granting it

I would like to create a role connected as SYSTEM. But because I have a lot of schemas with a lot of roles and all of them will be created this way, I don't want the created roles to be granted to SYSTEM (otherwise it eventually will exceed the 148-roles limit).
=> Is that possible to disable the automatic grant on the creator?
NB: for now I work on Oracle 9i but it will soon be upgraded to 11g
There are 2 parts to my answer:
Roles in Oracle are a bit like keys on your keyring: just because they're on the keyring doesn't mean your using them all the time. Oracle has the concept of default roles: these roles are activated automatically when the session is created. The other roles can be enabled later if the user so desires.
The 148 role limit applies to active roles, see for example this documentation link for oracle 10g: http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_6012.htm#sthref7227
To disable roles from being default, use ALTER USER ... DEFAULT ROLE ..., see http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_4003.htm#sthref5717
Don't create any objects, even roles, when connected as SYSTEM. Instead you should be using an ordinary user to create a role and adding objects to it that is appropriate for that user's schema's objects. You will need to grant the CREATE ROLE system privilege to those users that need to own objects and have roles for them, but that's all part of the Oracle security model.
The maximum number of user-defined roles that can be enabled for a
single user at one time is 148.
You can pretty much create as many roles as you like - just don't enable them all at once.
When you create a role (other than a user role), it is granted to you
implicitly and added as a default role. You receive an error at login
if you have more than MAX_ENABLED_ROLES. You can avoid this error by
altering the user's default roles to be less than MAX_ENABLED_ROLES.
Thus, you should change the DEFAULT ROLE settings of SYS and SYSTEM
before creating user roles.
http://docs.oracle.com/cd/B10500_01/server.920/a96521/privs.htm#15539
e.g.
ALTER USER SYSTEM DEFAULT ROLE DBA

Resources