Questions tagged [permissions]

Permissions define the operations that authenticated users are allowed to perform on file systems, databases and other computer systems.

Permissions are a series of rules that defines the action that authenticated users of computer systems can do. Permission are employed in several systems, such as file systems, DBMS, apps (iOS, Android, Windows Store, ...) and claims-based identity.

From a programming perspective, we are not interested in how to assign permissions in a particular context (i.e. in a company) but in how these are implemented (which permissions are implemented, in which way we combine them, how they impact performance, ...).

This tag should be used:

  • for questions about how permissions work in a particular systems;
  • for scenarios/problems that involves permissions in a substantial way.

This tag should not be used for asking about the specific permissions that should be assigned in a particular scenario.

Related tags: , , ,

17586 questions
5
votes
3 answers

best practice for permission implementation in a system?

I have an application which contains different kinds of permissions. As mentioned in (Role Bases Security) RBC ,I grouped users into roles and assigning different permissions to roles. (and permissions are in this style : public enum Permission { …
Mahmoud Moravej
  • 8,705
  • 6
  • 46
  • 65
5
votes
1 answer

Paperclip create folder with incorrect permissions

The rails 3.0 app is on ubuntu server using apache/passenger. The user to deploy the app is admin, it is also the user running the app (did not choose the name, admin has no root privileges). I updated paperclip again today. The paperclip plugin is…
Syl
  • 3,719
  • 6
  • 35
  • 59
5
votes
1 answer

Azure permission : not authorized to perform this operation

So i have a data factory which calls an Azure-function which reads blob storage. I don't understand why i am getting this error. "This request is not authorized to perform this operation". Is it a problem with data factory, azure storage, or azure…
5
votes
0 answers

How to use Neovim as External editor for Godot (Godot executable permissions)

I am trying to configure Godot to use launch Neovim in iTerm2 when I double click on a file containing code in the editor, however, a terminal window pops up instead with the following error: /Users/myusername/.../Scripts/Player.gd; exit zsh:…
5
votes
0 answers

How to check camera permission which would be supported across all browsers?

I am using the following code for checking if my react application has a camera permission:- checkForCameraPermission = () => { try { navigator.permissions.query({ name: 'camera' }).then(permissionStatus => { // granted, denied,…
anup
  • 585
  • 12
  • 34
5
votes
2 answers

Xcode can't create output file, permission denied

In Xcode I cannot compile my application anymore, the error is: /usr/bin/lipo: can't create output file:…
Nathan H
  • 48,033
  • 60
  • 165
  • 247
5
votes
2 answers

Why doesn't my request.user have groups in Django?

I've got an endpoint built with Django Rest Framework, to which I now want to add permissions so that only users belonging to a certain group can access an endpoint. So I'm using token based access and inspired by this example I'm trying to use the…
kramer65
  • 50,427
  • 120
  • 308
  • 488
5
votes
3 answers

What databases do I have permissions on

How can I find what databases I have a minimum of read access to in either basic SQL, MySQL specific or in PHP?
UnkwnTech
  • 88,102
  • 65
  • 184
  • 229
5
votes
0 answers

How to permanently fix "don't have write permissions for the /usr/bin directory"

This all started by attempting to install cocoapodsthrough the terminal. Long story short, I kept getting an error that my rubygems version was not acceptable. I then attempted to update that version but kept getting the error: ERROR: While…
Lux
  • 76
  • 1
  • 6
5
votes
4 answers

Updating permissions on Amazon S3 files that were uploaded via JungleDisk

I am starting to use Jungle Disk to upload files to an Amazon S3 bucket which corresponds to a Cloudfront distribution. i.e. I can access it via an http:// URL and I am using Amazon as a CDN. The problem I am facing is that Jungle Disk doesn't set…
Simon_Weaver
  • 140,023
  • 84
  • 646
  • 689
5
votes
2 answers

Flutter app wont ask for Storage permission in release mode

I'm using permission_handler package to ask for read permissions for storage in my app everything is working fine in debug mode and when i run my code with "flutter run --release" but the problem arises when i export my code as an apk the…
5
votes
3 answers

Java Applet Permissions

I've put together a basic applet where the user selects a file from their hard drive, it reads the first line of this file and passes that off to JavaScript for some additional preprocessing, and then when you click a button it tries to upload that…
soapergem
  • 9,263
  • 18
  • 96
  • 152
5
votes
0 answers

how to fix java.net.SocketException: Permission denied on ubuntu

I'm using apache mina sshd to produce a ssh server so that users could be able to access a specific system remotely. here is a part of my code: SshServer sshd = SshServer.setUpDefaultServer(); sshd.setPort(830); …
Majid Roustaei
  • 1,556
  • 1
  • 20
  • 39
5
votes
1 answer

How can I gain permission in HealthKit for writing workout routes?

I'm trying to add map data to my saved runs and bike rides for an Apple Watch app. I'm using CLLocationManager and HKWorkoutRouteBuilder. Apple seems to have a pretty decent guide on building workout routes here. However, I'm struggling with the…
David Voland
  • 215
  • 1
  • 8
5
votes
3 answers

error:" ln: failed to create symbolic link ‘./sys/kernel/config/nvmt’: Operation not permitted" even with root access

I am trying to setup NVMe over Fabrics using post "https://community.mellanox.com/s/article/howto-configure-nvme-over-fabrics". I could reach step 10, but when I try to create the soft link according to step 10 as a root user, I am getting…
Marjan Radi
  • 51
  • 1
  • 2