Category "permissions"

How to hide slash command to specific user or channel Discord.js v13

Is it possible to hide slash command in discord.js v13.1.0 ? I tried to add some permission but nothing that i found worked like the " command.permissions.add({

Snort3 docker container cannot start DAQ with "permission denied" on interface

I have installed snort3 via the official docker container. When I use docker cp to copy in pcap files snort scans the pcaps just fine. However, when running IDS

How to programmatically read and open Bluetooth location permission setting for Android app

I am designing an app in Android Studio. It scans for BLE (Bluettoth Low Energy) devices. As soon as I try to scan I get the following popup message: Location

Share NFS using Samba to access on Windows - TortoiseSVN Can't set file - read-only: The request is not supported

good day, so I'm receiving the error below whenever I'm trying to do an "SVN update" on a windows machine using TortoiseSVN (v1.10) on a working copy located on

PIP install and Python requests get PermissionError on Windows

Search all over the internet, thread after thread tried every solution possible almost 2 days and can't find solution. I have already tried to reinstall python

How to add OR for adding multiple gate permissions at construct method of controller

I'm working with Laravel 5.8 and I have created this method in the Controller: public function __construct() { $this->middleware('can:see-brand-r

Exceptions while creating dirs with getDirectoryHandle in specific cases

Update: I raised a bug report in Chromium. Hopefully this situation can be fixed soon.     I'm trying to create a web app that can modify a directory

How to block modification of .htaccess file wordpress

please tell me what can I do to protect my .htaccess file ? Recently I was hacked and I noticed that I can navigate into different place of my wp-admin (Posts,

Setting Azure AD Microsoft Graph Email API/Permission in Terraform

I am provisioning some Azure infrastructure using Terraform. Included in the setup requirement is some configuration of an Azure AD registered app and this requ

How to solve (unix:/home/richard/www/firstsite.sock failed (13: Permission denied) while connecting to upstream)?

I am trying do do this tutorial in a CentOS 7: https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-centos-

how to have multiple user types in django

this app is a school management system with django i have three types of user in my web app, my problem is how to authorize these and give them permissions. use

With only the Select and View Definitions permission on a view, can SQL queries be sent from Excel without needing to type the query each time?

I have views that my users often only need to check for one particular person at a time. To do this, they do the following in Excel 365 desktop: Open a blank wo

Android - onRequestPermissionsResult() is deprecated. Are there any alternatives?

I tried to implement request permissions for writing and reading from storage. Everything worked good but today Android showed me that the method onRequestPermi

Jupyter Notebook: Access to the file was denied

I'm trying to run a Jupyter notebook on Ubuntu 21.10. I've installed python, jupyter notebook, and all the various prerequisites. I added export PATH=$PATH:~/.l

Saving files in Android 11 to external storage(SDK 30)

I am writing a new Application on Android 11 (SDK Version 30) and I simply cannot find an example on how to save a file to the external storage. I read their d

Ubuntu 20.04 - Stopped MySQL. Now it won't start (error 13, permission denied)

Running a DigitalOcean LAMP Stack (1GB VPS) on Ubuntu 20.04, I was getting intermittent "Error establshing a database connection" errors in Wordpress when uploa

Powershell - how to check if installation is running in user or system context

I have packaged an application with the App Deployment Toolkit. I install the application with the command: Start-Process -FilePath $setupx64 -ArgumentList "/si

How to solve permission problems when using GitLab CI Runner with Docker and non-root user?

I am using a GitLab CI Runner with Docker. My dockerfile looks as follows: FROM node:lts-buster-slim # Install docker dependencies RUN apt-get update RUN apt-g

<Geolocation API> "granted" on Firefox BUT "denied" on Chrome

Greetings, I am facing the following issue; question will follow after. I have a production application using the Geolocation API from the navigator: Yes =>

In Django, how to restrict access to a template to users based on their department_name. Each user belongs to certain department

I have the below model. Departments, users. Users are assigned to a department. How can I restrict the access of templates based on the department_name of a use