question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

If an authorized user opens a concrete entity(in entities) to the navbar and refreshes the page, the user will become unauthorized.

See original GitHub issue
Overview of the issue

The user receives the status not authorized after the page is refresh on a particular entity. I found a similar question (https://github.com/jhipster/generator-jhipster/issues/6190) and saw the commit “decisive” problem. The commit was 20 days ago and I have the latest version of the jipper. I can safely say that the last fix did not solve the problem.

Motivation for or Use Case
Reproduce the error

Authorize user, open concrete entyti in navbar, refresh page.

Related issues
Suggest a Fix
JHipster Version(s)

4.8.2

JHipster configuration, a .yo-rc.json file generated in the root folder

{ “generator-jhipster”: { “promptValues”: { “packageName”: “ru.javablog.blog”, “nativeLanguage”: “en” }, “jhipsterVersion”: “4.8.2”, “baseName”: “javablog”, “packageName”: “ru.javablog.blog”, “packageFolder”: “ru/javablog/blog”, “serverPort”: “8080”, “authenticationType”: “jwt”, “hibernateCache”: “ehcache”, “clusteredHttpSession”: false, “websocket”: false, “databaseType”: “sql”, “devDatabaseType”: “postgresql”, “prodDatabaseType”: “postgresql”, “searchEngine”: false, “messageBroker”: false, “serviceDiscoveryType”: false, “buildTool”: “gradle”, “enableSocialSignIn”: false, “enableSwaggerCodegen”: false, “jwtSecretKey”: “eefdb2a631a1a1c21b563d59fa1ccb8908d4769e”, “clientFramework”: “angularX”, “useSass”: true, “clientPackageManager”: “yarn”, “applicationType”: “monolith”, “testFrameworks”: [], “jhiPrefix”: “jhi”, “enableTranslation”: true, “nativeLanguage”: “en”, “languages”: [ “en”, “ru” ] } }

Entity configuration(s) entityName.json files generated in the .jhipster directory
Browsers and Operating System

OS: Archlinux

openjdk version “1.8.0_144” OpenJDK Runtime Environment (build 1.8.0_144-b01) OpenJDK 64-Bit Server VM (build 25.144-b01, mixed mode)

git version 2.14.1

node: v8.5.0

npm: 5.3.0

yeoman: 1.8.5

yarn: 1.0.2

Docker version 17.07.0-ce, build 87847530f7

docker-compose version 1.16.1, build unknown

  • Checking this box is mandatory (this is just to show you read everything)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
gzsomborcommented, Sep 27, 2017

Yes, it’s the same issue, I could reproduce it. The referred problem is not fixed, as I see.

I think, I have a solution for it.

0reactions
ghostcommented, Sep 27, 2017

@jdubois , my situation was described to you by @pelmegov . It’s similar problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AUTHORIZED USERS: WHAT YOU NEED TO KNOW The ...
The concept is a simple one: online accounts are “Owners” who can designate who can file documents on that entity, the “Authorized Filer.”...
Read more >
How can I show Authenticated but UNAUTHORIZED users an ...
I am attempting to return the HttpUnauthorizedResult if the user does not have access, but I just get redirected to the login page,...
Read more >
Basic Web Development With ASP. NET Core 5 - Skillshare
In this course, you will learn to develop an application using ASP. NET Core 5. This course will build on your foundation of...
Read more >
Getting Started - jBPM Documentation
The content of the user's cart can be the initial process context. ... All entities found in that package will be automatically added...
Read more >
Using Oracle Mobile Cloud Service
If you use this software or hardware in dangerous applications, then you shall be ... To make sure that MCS mobile app and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found