mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
e26ed0e81a
* adding env for RBAC server url to app.config.js * creating util function for requesting auth from the rbac server * fixing typing error * testing rbac request on homepage * removing console logs * importing RBAC url from config file * creating develpment .env file * return true if no rbac url env is set * creating permissions parent component * wrapping homepage content in permission element * wrapping publish in permissions wrapper * wrapping search results in permissions wrapper * wrapping asset actions in permissions element * creating an error alert for permission denied * updating react hook dependency * passing address to rbac component * sedning address to RBAC server * wrapping asset in permission component * removing unused import of Permission component * sending request based on address * chaning default permission case to restrict access * updating eventType as consume * Adding loader icon while waiting form permission response * only sending request to RBAC if address is defined * adding wallet connection info message * changing the env name and checking for undefined * updating .env.development * Check for undefined RBAC_URL in permissions component * removing .env.development and updating .env.example * updating .env.example comment * switching alert messages and reducing return statements * removing console.log message * fixing linting issue * Revert "fixing linting issue" This reverts commit8bcb80be3d
. * Fixing linting errors * pull from origin main * Revert "pull from origin main" This reverts commit9535e41a5f
.
13 lines
441 B
Plaintext
13 lines
441 B
Plaintext
# Default network, possible values:
|
|
# "development", "ropsten", "rinkeby", "mainnet", "polygon", "moonbeamalpha"
|
|
GATSBY_NETWORK="rinkeby"
|
|
|
|
## Define a GATSBY_RBAC_URL to implement permission based restrictions
|
|
#GATSBY_RBAC_URL="http://localhost:3000"
|
|
|
|
#GATSBY_INFURA_PROJECT_ID="xxx"
|
|
#GATSBY_MARKET_FEE_ADDRESS="0xxx"
|
|
#GATSBY_ANALYTICS_ID="xxx"
|
|
#GATSBY_PORTIS_ID="xxx"
|
|
#GATSBY_ALLOW_FIXED_PRICING="true"
|
|
#GATSBY_ALLOW_DYNAMIC_PRICING="true" |