Sales_Creatio
permissions
delete records
8.0

Hi community,

There is a system user needs to operate with records in several different objects. But I don't want that user can delete any records

Is there any way to set up permission for that?

 

Thank you!

Like 0

Like

1 comments

Hi, yes, there is a way to set it up. The necessary information you will find in this article: https://academy.creatio.com/docs/user/setup_and_administration/user_and…

Show all comments
permissions
account
roles
Sales_Creatio
8.0

Here is my explanation:

Our organization has several departments, but we use the same Object. For example in the case is Account

We have already set up Organizational Roles. For Example

  1. Country 1 Sales Team
  2. Country 2 Sales Team

(I'm not allowed to give you the real name of those departments)

Each Team will handle some records in Account

 

So how could I filter Account based on the Organizational roles?

Like, if an employee from Country 1 Sales Team access the Account, they only see the records that their team needs to handle but not mix up with records from other teams

 

I hope the community could help me with this. Many Thanks!

Like 0

Like

4 comments

Hi Bao,



I think, such filter can do this

 

Kind regards,

Vladimir

Vladimir Sokolov,

Hi Vladimir,

 

That's a great idea! We tried and seems okay for now!

 

But, I have a further question.

As my try, a team member from Country 1 team could able to see the folder used for Country 2 Sales Team when they use the filter function. We want to separate the view of both teams and don't allow Country 1 team could see any record from Country 2 team

So, How can I able to do that?

Bao Phan,

Here you need to write Process that changes access right to record when record is added and Owner or Team are changed 

https://academy.creatio.com/docs/user/bpm_tools/process_elements_refere…

 

Thank you, Vladimir Sokolov

 

Sorry for my late reply

I didn't get any notification about the reply

But thank you!

Show all comments
lookup
permissions
Sales_Creatio
7.18

The list of lookups suddenly disappeared from the Object permissions page !

I tried to compile and restart the service but got the same result 

 

Like 0

Like

3 comments

Dear Moheman, 



Unfortunately, it's hard to say what have caused this behavior on the website. 

Please contact our support team via an email support@creatio.com and provide us with more details on what actions were made on the website prior to that so we could check it. 



Kind regards,

Roman

Show all comments
delete records
permissions
recordpermission
Sales_Creatio
8.0

Dear Community,

 

is there any way to block the deletion of records of an object for all users and user groups (including system administrators and the supervisor) depending on a lookup value, such as a status.

Adjusting the object permissions still let's sysadmins delete a record.

 

Like 0

Like

1 comments

Hello Markus,

You can write your own EventListeren on onDeletnig event and if your condition is satisfied, you can call base.OnDeleting(sender, e).

If not, it will block the delete action no matter who is the user.

public override void OnDeleting(object sender, EntityBeforeEventArgs e) {
				var entityOrderProduct = (Entity)sender;
            	var OrderProductid = entityOrderProduct.PrimaryColumnValue;
				string name = entityOrderProduct.GetTypedColumnValue<string>("Name");
				if (name != 'someting'){
					base.OnDeleting(sender, e);
				}
			}

 

Show all comments
permissions
roles
organizational roles
functional roles

Hi 

When I log in as sales manager I can't see my accounts. But when I enter as a supervisor, I see that the owner of this account is exactly this owner

Like 0

Like

1 comments

Hello,

Please check the permission settings in the Object Permissions section.

 

Perhaps the manager role does not have permission to view records in the Accounts section

Show all comments
object
Object Permissions
permissions
Access Rights
Financial_Services_Creatio_customer_journey_edition
8.0

Hello Creatio team,

I manage to give access for ( Operations and Records )to this specific object from the Configuration.

Even though these changes are not reflected as can be seen in the printscreen below:

How can i overcome this problem ?

Like 0

Like

1 comments

Hello,

 

As we mentioned in the submitted case to support, we do not recommend you manually check those boxes, to properly add them please follow the steps below:

  1. In the object, permissions section add your restrictions
  2. The system will create a "copy" of the object you are working on in the current package as a reference to the original object
  3. In that copy, you will see the checkboxes checked for the chosen options from object permissions.

Please make sure to set the "Current Package" system setting to the one you are developing in.

For further questions please refer to your support case.

 

Thank you.

Show all comments
permissions
7.18

Hello community,

I'm trying to import/export data from one environment to another. I noticed that for each type of entity a table named 'Sys' +  entityName + 'Right' was created. I could not create data type schemes for these tables. What solution does Creatio offer for the transfer of this data?

Like 0

Like

0 comments
Show all comments
authorization
permissions

Hi community,

 

On a demo version, I have created a test user with "Direction" as organizational role. I want it to hide the "Budget" field in the opportunity section and don't make it editable.

To do so, I went in the "object permissions" and checked "Use column permissions", selected the "Budget" field and giving a "Deny reading and editing" access level to the "Direction" role. 

The three available options are :

 

 

After doing that, when I connect with the test user, I still can see (or read if you prefer) the Budget field, however I can't modify it.

 

 

How can I do to hide this field to all the "Direction" users ? If we can't do it like this, what does "Deny reading" mean ? What are the differences between "Permit reading" and "Deny reading" ?

 

Thanks a lot for your time.

 

Best regards,

Jonathan

 

 

 

Like 0

Like

5 comments

Hello Jonathan,

 

Could you please specify the version of your application?

 

Thank you!

Best regards,

Bogdan S.

Hi Bogdan Spasibov,

 

The actual version of Creatio, 7.18.3.

Hello Jonathan,

 

The "Deny reading and editing" option won't hide the field but it can hide the value of the field. For example, with the following setup, all company employees will see the field value except for the users that are added to the '1-st line support' role:

 

 

But the best way to achieve you business task is to use business rules. There is a rule that is called 'Show an element on page'. It allows you to show the specific field on the page only for some users. For example, with this setup only Supervisor can see the 'Budget' field on the page:

 

 

Please note that as of now the business rules can be applied to users only. The setup with org.roles should be available in one of the upcoming releases.

 

Best regards,

Bogdan S.

Hi Bogdan Spasibov,

 

Thanks a lot for your answer. The first methods doesn't seem to work. I created an opportunity, set the "Budget" field to 3'500. Then went to the object permissions and set "Deny reading and editing" to the "Direction" Organizational role. When I log in with a "Direction" user, I can still se the 3'500.

 

However, your second solution helps me a lot and is perfect for what I want to do. 

 

Thanks :) 

Jonathan Quendoz,

Hi,

 

please be careful with using business rules as a means for data access restrictions! They only work on the page where they are configured! So this will not if the user adds the field to the opportunity list.

Besides this, I think that the order in Bogdans answer should be the other way round. Permissions are evaluated by priority and the first hit will count. Since every user is in the "All Employees" group, the second row will never be evaluated.

 

BR,

Robert

Show all comments
#record
permissions
view
Sales_Creatio_enterprise_edition
7.17

Hello

 

I have made a custom action in a custom section which opens the Employee section as pop-up and the selected Employee will be having an activity assigned to him(through business process whose Code is put in the action's On click attribute).

This is done for assignment of Field Sales agent a bulk of addresses for visit.

But I want only activities assigned to a particular Employee visible to him, other Employee's activities should not be visible to him. Only administrator should be able to see all the activities.

I have also used Access Rights element in process but not working as expected.

I have attached screenshots for more understanding.

 

Custom Action:

 

Open Employee section pop-up:

 

Created Activity Records:

 

Access rights element in process:

In this, the signal is set to when an activity record is added.

The access rights element removes permission from all Employees and then grants permissions to that assigned Employee.

Like 0

Like

3 comments

Hi Malay,

So what seems to be the issue? The process doesn't remove the rights from activity or doesn't assign them to the required employee?

 

Thanks.

Dean

dean parrett,

 

Thanks for the reply.

Yes, It is not working as it should. Right now, all employees can see and edit the records assigned to other employees.

 

Thanks,

 

Malay

Hi Malay,

 

I suggest you to approach the support team. It is necessary to look through the all rights settings as well as the process. You will get the solution faster in this case.

 

Regards,

Dean

Show all comments
permissions
data binding
sql
7.16
Sales_Creatio_team_edition

Hi Community!

 

as there is no out-of-the-box way of deploying permissions from one system to another, I'm currently trying to achieve this via SQL.

 

I'm able to add a static SQL script to the package and it will be executed fine on the target system. My problem is that the content of the SQL script is not static. I have to execute an SQL script in the source system to get all the information about the current permission setup and then use these results to build the update/insert statements for the target system.

 

Did anyone try to accompish this before?

 

Thanks for any hints!

Like 0

Like

5 comments

Dear Robert,

 

Organization Roles can be transferred only by SQL scripts. Functional roles are transferred by binding data of the System administration object. The rights to existing records should be transferred via scripts as well. To distribute rights to new records you can either set up a business process or configure object permission directly on the production environment.

 

Best regards,

Angela

Angela Reyes writes:

Dear Robert,

Organization Roles can be transferred only by SQL scripts. Functional roles are transferred by binding data of the System administration object. The rights to existing records should be transferred via scripts as well. To distribute rights to new records you can either set up a business process or configure object permission directly on the production environment.

Best regards,

Angela

Thanks Angela!

 

But the question is how can I transfer the definition of the permissions, without rewriting the SQL script over and over again?

Is the following procedure the only way?

  1. Select the current permissions manually with SQL

    the tables are:

    1. SysEntitySchemaOperationRight for object permissions
    2. SysEntitySchemaRecordDefRight for record permissions
    3. SysEntitySchemaColumnRight for column permissions
  2. transform the result to and insert/update statement
  3. save those scripts in the package SQL section
  4. export/import package

And do I have to/am I allowed to truncate those 3 tables first?

Is there a stored procedure that applies the new permissions on the target systems' records?

 

Thanks a lot and best regards

Robert Pordes,

Your description is almost correct. Please see all steps:

1. Create scrip for update/ insert records from SysAdminUnit table to use these records in the next steps

2. Select the current permissions manually from SQL the tables:

2.1 SysEntitySchemaOperationRight for object permissions

2.2 SysEntitySchemaRecordDefRight for record permissions

2.3 SysEntitySchemaColumnRight for column permissions

2.4 Also there are tables like Sys{ObjectName}Right (e.g. SysAccountRight) in which record rights are stored, so you should create script for each object. 

3. Transform the result to and insert/update statement

4. save those scripts in the package SQL section

5. export/import package

 

Best regards,

Angela

Hi Angela,

thanks, but aren't the tables Sys{ObjectName}Right storing the applied rights (they will be populated by clicking "update record permissions", correct?). If I create scripts on eg DEV system, the data will not be the same! I mean we will definitely have different eg. account and contact records on dev/test/prod system.

That's exactly why I asked this in my previous post: 

Is there a stored procedure that applies the new permissions on the target systems' records?

 

Thanks,

Robert

Robert Pordes,

There is no stored procedure. This is why I suggested workarounds like

binding data and business processes.

 

Best regards,

Angela

Show all comments