Announcement

Collapse
No announcement yet.

New user > Error 403

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • New user > Error 403

    Hello,

    I encounter a strange error: when I create a new user, I get a 403 error.

    I have the latest version of EspoCRM and I have never encountered this problem before. Besides, I haven't changed anything in my configuration.

    Do you know where the problem may come from?

    Thank you.

  • #2
    Has the "type" field been added recently in the "user" entity?
    I ask this question because I wonder if this is not the problem.

    Comment


    • #3
      On an old EspoCRM installation, I actually noticed that the "type" field did not exist.

      However, on my current EspoCRM installation, I needed to create it a few months ago to organize my users.

      From now on, the EspoCRM editor has also created the "type" field to manage administration rights. So I guess it created a bug in my database since the same field existed, with the same name for different reasons.

      What can I do about it?

      (1) Do I have to recreate the various "types" of users that exist in the Espocrm demo and that do not exist on my EspoCRM?
      (2) And how can I restore my Admin rights directly by phpMyAdmin?

      Thank you.

      Translated with www.DeepL.com/Translator

      Comment


      • #4
        Hello,
        what version of EspoCRM do you use? Is it upgraded (if yes, from what version) or a new installation?
        Is this user Admin?
        Job Offers and Requests

        Find Developer
        Find Customer

        Comment


        • #5
          Hello,
          I am in version 5.5.5.5: I update each time, in order.

          Yes, this is the admin user.

          Perhaps it is possible to fix the problem directly in the MySQL database?

          Comment


          • #6
            Can you create other entities?
            Did you customize ACL?
            Because Admin has no restrictions at all
            Job Offers and Requests

            Find Developer
            Find Customer

            Comment


            • #7
              Hi,

              You can rename your type field manualy in custom/Espo/Custom/Resources/metadata/entityDefs/User.php. Then rebuild.

              Find your user in user table and set type = 'admin'

              Comment


              • #8
                Hello,
                Thank you for your help. Everything's okay!

                Comment

                Working...
                X