Questions tagged [user-permissions]

For questions regarding the appropriate use, settings, and enforcement of user permissions, typically for the purpose of either providing access to shared resources or restricting access to private resources.

Because permissions paradigms can change fairly drastically across operating systems and coding frameworks, setting appropriate permissions for users can be a daunting task that requires a great deal of knowledge about what kinds of access are both safe and necessary for a given task.

Restricting access too much can result in systems that are brittle and frustrating to users. Leaving permissions too open can lead to security and privacy issues. As such, finding the right balance for each application is paramount.

1163 questions
0
votes
3 answers

Strange systems permissions warnings when running processes in bash

I am getting the following warnings when I run homebrew or any of the ruby web servers locally. Does anyone know how to get them to go away? larson:local larson$ brew doctor /usr/local/Library/Homebrew/global.rb:65: warning: Insecure world writable…
0
votes
1 answer

Rails - allow people to add association between records, but only allow admins to remove it

I have an app with the following models: People, Projects, ProjectsAdminLists. There's is a HABTM association between people and projects. Each project has one ProjectAdminsList and each one of those can have many people. People belonging to each…
ntlk
  • 67
  • 7
-1
votes
0 answers

Accessing Shared Folder over network based on permissions

I have a folder structure like Test > Test1 > Test 2 > Test 3 > Test 4,5 I want to share this over the network say \server123\Test\Test1\Test2\Test3 For user "A" I want him to access only Test 3 and the subfolders below(4,5) so how can I do that? I…
-1
votes
1 answer

Restrict reading of file in Lubuntu 22.04 - allow binary executable to access it when run by user

In Lubuntu Linux 22.04, I need to make a binary file that is owned by root and is in the root group executable by a normal user. This is easy enough to achieve using: sudo chmod o+x /path/to/binary/binary-executable The binary also needs to read…
-1
votes
1 answer

Django user.is active

Why when i desactive user on Django admin site in my class in post method requirement return negative first if requirement user is not None ? Probably if user desative true Django don`t look him in user table ? class LoginView(View): …
-1
votes
1 answer

Laravel & PostgreSQL: Which role permissions are required?

I am using Laravel 9 and PostgreSQL 15 as a part of my stack for personal blog project. During its setup, I ended up with a couple of questions. If I am setting up a separate role (according to this part of PostgreSQL documentation, a user in…
Rusurano
  • 444
  • 5
  • 12
-1
votes
1 answer

PHP Facebook SDK / Graph API - reading posts from public fan page not working

I want to write a small personal app (not necessary public) for my own use which will read out Posts from public fanpages. Anything works so far, i'm able to log in and here's my code snippet for retrieving the posts: $pageposts =…
Fuxi
  • 7,611
  • 25
  • 93
  • 139
-1
votes
2 answers

change the role of a user to another role in laravel 8

i want to change the role of a user and from one role to another role but I am getting an error that says: Trying to get property 'Role_name' of non-object this is my update function in the controller public function update(Request $request,User…
-1
votes
1 answer

Is it reasonable to rebuild the relationship between the relationship table and other tables?

The demand is this: a user belongs to multiple departments, and the roles in each department are different, and each role has different permissions. The general idea is You need to build another layer of relationships on the relationship table. I…
-1
votes
1 answer

TFS Customized security groups at collection level

We have group of developers, Testers & BA's who will work for more that 30 projects under collection, so instead of adding them for each project want to create security groups at collection level so everyone will have access to all the projects…
-1
votes
1 answer

cannot reboot Android from terminal

I need to restart my app often to test the behavior of some components. So I want to use a cmd from terminal in order to not waste time closing / opening manually. I have found this code but when I put on the terminal it returns a permission…
-1
votes
1 answer

what exact permissions should I grant to devs on a test box

I recently set up a Oracle 12.0 box for devs to test code on. What permissions should I grant them to do their work?
benjamin moskovits
  • 5,261
  • 1
  • 12
  • 22
-1
votes
1 answer

Permission denied (publickey). - I can't login to my VM on Google Cloud Platform

I created a vm on google cloud platform and I can't login by ssh anymore into that VM. So I ran that command in the cloudshell : gcloud compute ssh user@vm And I got the following output : Permission denied (publickey). ERROR:…
-1
votes
1 answer

White Screen when user denies an Android permission

I have an android app where I request for permission when the user clicks on the camera icon. I also want for external storage Following is my code private boolean isCameraPermissionGranted() { if (Build.VERSION.SDK_INT >=…
-1
votes
1 answer

Get Website Permission with Powershell

I am trying to figure out how to get the well known Website Permission Lists with Powershell. I tried several methods. The best solution seems to me to try something like $spWeb.RoleAssignments but this delivers me not only the users and groups with…
sustimus
  • 1
  • 3