I hereby claim:
- I am ardydedase on github.
- I am ardydedase (https://keybase.io/ardydedase) on keybase.
- I have a public key whose fingerprint is 2BA3 9547 7D1C 4B0A B9D1 8930 B83C E630 2E73 3E1E
To claim this, I am signing this object:
| 09-19 21:21:07.526 1468-1557/? E/TaskPersister: File error accessing recents directory (directory doesn't exist?). | |
| 09-19 21:21:10.788 1855-3078/? I/Dialer: VvmTaskExecutor - executing task com.android.voicemail.impl.ActivationTask@8ea01a1 | |
| 09-19 21:21:10.789 1855-3078/? I/Dialer: PreOMigrationHandler - ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [****], UserHandle{0} already migrated | |
| 09-19 21:21:10.830 1855-3078/? I/Dialer: VvmActivationTask - VVM content provider configured - vvm_type_cvvm | |
| 09-19 21:21:10.831 1855-3078/? I/Dialer: OmtpVvmCarrierCfgHlpr - OmtpEvent:CONFIG_ACTIVATING | |
| 09-19 21:21:10.842 1855-3078/? I/Dialer: TelephonyMangerCompat.setVisualVoicemailSmsFilterSettings - using TelephonyManager | |
| 09-19 21:21:10.845 1855-3078/? I/Dialer: TelephonyMangerCompat.sendVisualVoicemailSms - using TelephonyManager | |
| 09-19 21:21:19.314 1468-1481/? E/memtrack: Couldn't load memtrack module | |
| 09-19 21:21:19.314 1468-1481/? W/android.os.Debug: failed to get memory consumpt |
I hereby claim:
To claim this, I am signing this object:
| Functionality | Service | |
|---|---|---|
| Routing. Proxying to requested feature web applications. | Routing service | |
| Content management | Content repository | |
| Authentication | Authentication service | |
| Access management | Role-based access control (RBAC) service |
| Path | Product Web App URL | Owning Team | Description | Permission | |
|---|---|---|---|---|---|
| /my-product-1 | https://product-webapp-1.mydomain.local | Team 1 | Allows internal users to check the revenue data | canViewContentA | |
| /my-product-2 | https://https://product-webapp-1.mydomain.local | Team 2 | Allows users to set up reporting dashboards | canViewContentB |
| if (userHasPermissionToViewPage(userId)) { | |
| showPage(); | |
| } else { | |
| showNoPermissionError(); | |
| } |
| if (userHasPermissionToPerformAction(userId)) { | |
| showButton(); | |
| } else { | |
| doNothing(); | |
| } |
| from flask_restful import Api | |
| from resources import HealthCheck, \ | |
| UserList, User | |
| from models import User as UserModel, db | |
| from flask_migrate import Migrate | |
| from app import create_app | |
| app = create_app() | |
| migrate = Migrate(app, db) |
| from flask import Flask | |
| from flask_sqlalchemy import SQLAlchemy | |
| from config import get_config | |
| db = SQLAlchemy() | |
| def create_app(env='development'): | |
| app = Flask(__name__) | |
| app.config.from_object(get_config(env)) |
| from utils import get_env_variable | |
| POSTGRES_URL = get_env_variable('POSTGRES_URL') | |
| POSTGRES_USER = get_env_variable('POSTGRES_USER') | |
| POSTGRES_PASSWORD = get_env_variable('POSTGRES_PASSWORD') | |
| POSTGRES_DB = get_env_variable('POSTGRES_DB') | |
| class Config(object): | |
| DEBUG = False |
| import os | |
| def get_env_variable(name) -> str: | |
| try: | |
| return os.environ[name] | |
| except KeyError: | |
| message = "Expected environment variable '{}' not set.".format(name) | |
| raise Exception(message) |