Comments (12)
@libreliodev I couldn't connect to dynamodb. There is problem in permission.
AccessDeniedException: User: arn:aws:iam::105216790221:user/developer is not authorized to perform: dynamodb:ListTables on resource: *
I couldn't find a place for setting target in dynamodb, Probably every IAM user has a dynamodb.
from javascript.
@serverfire You do not need to "ListTables", and it is intentional that app admins do not have the right to do so.
We made a few modifications to what was mentioned above, and here are some additional details:
- the table used for all users is arn:aws:dynamodb:eu-west-1:105216790221:table/Users (instead of arn:aws:dynamodb:eu-west-1:105216790221:table/Subscribers)
- there is a different hash key for each app. The attribute name of this key is "App", the value is "[publisher]_[app]" (for example "developer_app1")
- the range key is the User Name, the attribute name for this range key is "User Name"
- there are 2 additional attributes: "Password" (string) and "Status" (number)
So, for example, if you want to list the users of "app1" of "developer", you need to perform a query with "App"="developer_app1"
from javascript.
@libreliodev Now i get this error.
AccessDeniedException: User: arn:aws:iam::105216790221:user/developer is not authorized to perform: dynamodb:Query on resource: arn:aws:dynamodb:eu-west-1:105216790221:table/Users
Request is a dynamodb query with Condition "App"="publisher_app".
from javascript.
Now i get this error.
AccessDeniedException: User: arn:aws:iam::105216790221:user/developer is not authorized to perform: dynamodb:Query on resource: arn:aws:dynamodb:eu-west-1:105216790221:table/UsersRequest is a dynamodb query with Condition "App"="_".
As specified above, you should use for example "App"="developer_app1".
"App"="_" will fail for 2 reasons:
- "developer" is not allowed to perform such a query.
- there are no records with Condition "App"="_".
from javascript.
@libreliodev
Request Condition was "App"="developer_app1". There was a error in comment i wrote.
from javascript.
There may have been a mistake in the permissions, sorry. We updated the policy, can you check and let me know if it' OK?
from javascript.
@libreliodev Thank you!
No permission error anymore. Anyway result was empty.
from javascript.
@serverfire Thanks.
However, the result should not be empty, there are 2 records. There might still be a permission issue preventing you from seeing them.
from javascript.
@libreliodev Sorry wrong report. I was testing it another app. app1 have two records.
from javascript.
@serverfire OK, thanks again.
from javascript.
@libreliodev Please check this issue.
Thank you
from javascript.
@serverfire Successfully tested.
from javascript.
Related Issues (20)
- Implement Pivottable.js in reader and admin HOT 2
- Implement server side authorization for Google Analytics HOT 7
- In Firefox, in admin, localized version is sometimes not displayed HOT 13
- In admin, filters do no work when using pivottable.js HOT 3
- Increase size of covers to 600 px
- When editing pdfs, include link number on page for iOS HOT 2
- Make sure the www site is localizable HOT 1
- Remove interstitials menu HOT 1
- Implement submenus for analytics HOT 1
- Add forms menu in left bar HOT 1
- Implement markdown editor HOT 1
- Compile error while ussing $ grunt. HOT 3
- Debian Installation
- The command open index.html HOT 6
- In backoffice, don't allow to activate folder with no file
- I can't compile javascript version
- Admin console login HOT 2
- how to linking admin console with aws account HOT 3
- Aws admin console login
- Not able to save anything in the Librelio admin console GUI HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javascript.