Category "permissions"

How can I combine permissions in `strawberry` with logical OR rather than AND?

i'm using strawberry to great success. however, there is one scenario that i would like to achieve: @strawberry.mutation( permission_classes=[ IsAuthenticated,

Trying to delete all shared memory and semaphore arrays in ipcs but get permission denied?

Can't find this anywhere online but when trying to delete semaphore arrays and shared memory using ipcrm -m id. I get this error permission denied for id (<i

Google Storage Bucket Permission to view object but not to list

I created a storage bucket with publicly accessible files. I want to ensure that viewers can view individual objects if they access them directly, but I do not

How was a standard windows 7 user able to delete files under C:\Program Files?

In c++, the DeleteFile() function shouldn't allow standard users to delete files under C:\Program Files, but someone running the program was able to do this! H

How to check internet connection in React Native application for both iOS and Android?

I have a React Native application and I'm seeking to add functionality that checks if there is an active internet connection when the app first starts up, and c

Downloading Issues from a Public GitHub Repository

I want to download issues from Jabref, an open-source citation tool. I looked up how to do this, and it looks like the way everyone does it is through curl lik

403 Forbidden Error in Keycloak API (view-users)

I'm having issues trying to access auth/admin/realms/{realm-name}/users API. I've already tried everything from other questions and answers, but nothing seems t

Why READ_PHONE_STATE permission asked "make and manage phone call"?

For getting the IMEI i using from this code: TelephonyManager tm = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); if (ActivityCo

How to add internet privileges to LG web app?

I am developing a web app for TV and I need to add internet privileges for the same. For samsung, in Tizen Studio it's quite straight forward, in IDE in config.

Raspberry Pi SSH permission denied

I went through existing threads and was unable to find a solution for my issue. I am using Raspberry Pi 2 model B and am able to use it by connecting to Displ

Validate SQL Server database backup path permission programatically before performing backup

I worked on a screen from which we can save the backup directory (C:\Program Files\Microsoft SQL Server\MSSQL12.SQLEXPRESS\MSSQL\Backup) to be able to perform

PermissionError when attempting to open directory with zipfile and pathlib modules

I'm trying to create a zip file using pathlib, but it's giving me a permission error. Look at the code: from pathlib import Path from zipfile import * import os

Doing some processing locally before uploading

I am new to Django and doing a small project where the user logs into a Django powered website and can then upload some images. These images will need to have s

Django superuser doesn't have permission to delete models

I am working on upgrading a Django website from Django 1.8 to Django 2.2 and have come across a problem when trying to delete an object from the Django admin ch

can't add 'allUsers' to GCP project

I have a GCP project and just for testing purpose, I want to grant the permission to 'allUsers'. But when I am trying to add, I am getting error Members of type

Write on sdcard permission android +6

I want to write on sdcard (External sdcard) on android +6. When I use this runtime permission: <uses-permission android:name="android.permission.WRITE_EXTE

Rename default admin role in ABP framework

Is there a way to rename the default admin role to something else, e.g. system admin or super admin ? In some contexts , admin may refer to task administrator o

Access denied on AWS s3 bucket even with bucket and/or user policy

I've tried pretty much every possible bucket policy. Also tried adding a policy to the user, but I get Access Denied every time I try to download an object fro

Google Cloud Storage confused about ACL/IAM and legacy permissions

I have a bucket whose contents I want to be publicly readable. However, I do not want the users to be able to list all of the contents by removing the keyname f

Microsoft Graph File Permission invite API not working always

I have an app to work with MS group Documents files. For a public group, I am creating files with the app and sharing direct invite to a tenant user (Not a memb