Admin Privileges

Hi,
I created one user named abc@gmail.com.
I wanted the above user can configure the company when login first time, but cannot create any additional users or cannot add any additional modules.
What are the privileges and Roles I need to give the above user.

Please advice

Can anyone please advice on this

When do you want it?
For example, do you want it once you open a freshly created site in which the company is not set up?
If yes, how you’re adding the first user abc@gmail.com

If you want the user abc@gmail.com to access and edit only Company and nothing else.

  1. Create a new role say ‘Company Admin’.
  2. Now using Role Permission Manager give access only to ‘Company’ DocType.
  3. Assign ‘Company Admin’ role alone to abc@gmail.com

I want it when freshly created site in which the company is not set up.
I am adding my first user by using code.