Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7439543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:43:16+00:00 2026-05-29T10:43:16+00:00

In a view, I’m going to hide some nodes based on user permissions. I

  • 0

In a view, I’m going to hide some nodes based on user permissions. I also need to restrict the access to the node on a per-user basis. Nobody except some users that have the permissions should be able to view the node (for example via node/ID).

I thought this is a really simple task but at the moment I can’t find a good starting point. I’m anyways in my own module, defined my own content types programatically and now fiddling aroung with the permissions.

I would be thankful for any help or a good starting point. I tried a bit myself but with no real success.

So, thanks in advance…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T10:43:17+00:00Added an answer on May 29, 2026 at 10:43 am

    I had also tried the Node access example and it seemed not to work but in fact it does. I just tried it as an authenticated user and then the nodes were not hidden from the view listing and I thought the example just doesn’t work for views. But as anonymous user, the ‘private’ flag does its job.
    So the Node access example seems to be a good starting point and the authenticated/anonymous behavior should be fixable as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My view calls some backend classes which need some user input. When user input
My view is that unless you need to change the basic structure of the
The view below is a container for three user controls, and I started getting
New view based project in XCode Go to main.xib and view.xib respectively In each
My View inherits Models.MyModel <%@ Page Language=C# MasterPageFile=Something.Master Inherits=Models.MyModel> %> I need a property
view based app, .m - (void)viewDidLoad { [super viewDidLoad]; self.locationManager = [[[CLLocationManager alloc] init]
View this code: function testprecision(){ var isNotNumber = parseFloat('1.3').toPrecision(6); alert(typeof isNotNumber); //=> string }
View History on an file in a branch show only changes since the branch.
Django view points to a function, which can be a problem if you want
My view-state to action-state transition does not appear to be happening. In the following

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.